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

index 88386d613690b579c563e811cff65b7d6da12708..dce5f32630671f624fce5d8c0a436fb8678e4b8f 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)
                        {