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

index 12888c0486f30c74afbc9bf90c3c97bcc31181e9..23e9b6bfe1f1a949f83519726499770b5328f122 100644 (file)
@@ -245,7 +245,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)
                        {