I must learn to compile before I commit...
authorRichard Levitte <levitte@openssl.org>
Fri, 25 Jan 2002 17:35:19 +0000 (17:35 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 25 Jan 2002 17:35:19 +0000 (17:35 +0000)
apps/rsautl.c

index e4bc219..e079dc8 100644 (file)
@@ -120,7 +120,7 @@ int MAIN(int argc, char **argv)
                        if (--argc < 1) badarg = 1;
                        keyfile = *(++argv);
                } else if (strcmp(*argv,"-keyform") == 0) {
-                       if (--argc < 1) goto bad;
+                       if (--argc < 1) badarg = 1;
                        keyform=str2fmt(*(++argv));
                } else if(!strcmp(*argv, "-engine")) {
                        if (--argc < 1) badarg = 1;