X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=crypto%2Flibeddsa%2Fsign.c;fp=crypto%2Flibeddsa%2Fsign.c;h=c1fddc8c579e7b41fe4fe51394daf8ddb0012cf3;hb=6713183c4af217025cb8f3817675c8cafc9f358d;hp=246c9322e8baeb51c4dd32353ac0e4d68f8e35bf;hpb=a1764382c3f47adf50e9ec9cc84ad1658f3d38e4;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);