X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=crypto%2Flibeddsa%2Fsign.c;h=c1fddc8c579e7b41fe4fe51394daf8ddb0012cf3;hb=92da0e851083ec948b2c86f368c6ddeae2dec5f6;hp=246c9322e8baeb51c4dd32353ac0e4d68f8e35bf;hpb=7bfbc0423ba40ea5156e06c8fb62bacd5ea93390;p=zpackage diff --git a/crypto/libeddsa/sign.c b/crypto/libeddsa/sign.c index 246c932..c1fddc8 100644 --- a/crypto/libeddsa/sign.c +++ b/crypto/libeddsa/sign.c @@ -42,7 +42,6 @@ #define SIGN 2 #define GENKEY 3 #define EXTRACT 4 -#define PUBKEY 5 static void hexdump(void *src, size_t len) { unsigned char *b = src; @@ -362,7 +361,7 @@ int main(int ac, char *av[]) { //hexdump(pub, sizeof pub); } - if (mode == PUBKEY) { + if (mode == EXTRACT) { /* want to print the pubkey only */ hexdump(pub, sizeof pub); exit(0);