CAformat should not be used for CA key format.
authorRichard Levitte <levitte@openssl.org>
Thu, 30 May 2002 16:24:33 +0000 (16:24 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 30 May 2002 16:24:33 +0000 (16:24 +0000)
apps/x509.c

index 9d09d7588905522dcad47849c221c03ea9157c9f..b9b13285f11298e5c87bf7c26e086fceed885399 100644 (file)
@@ -233,7 +233,7 @@ int MAIN(int argc, char **argv)
                else if (strcmp(*argv,"-CAkeyform") == 0)
                        {
                        if (--argc < 1) goto bad;
-                       CAformat=str2fmt(*(++argv));
+                       CAkeyformat=str2fmt(*(++argv));
                        }
                else if (strcmp(*argv,"-days") == 0)
                        {