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 e4bc219063a7942a3b54454d75f0174387b734ef..e079dc87f8fd8bbb0a302fdfafb1e9ce45126083 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;