No need to test -setalias twice.
authorRichard Levitte <levitte@openssl.org>
Mon, 31 Mar 2003 13:56:52 +0000 (13:56 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 31 Mar 2003 13:56:52 +0000 (13:56 +0000)
PR: 556

apps/x509.c

index cea33f5..9a6f981 100644 (file)
@@ -358,12 +358,6 @@ int MAIN(int argc, char **argv)
                        if (--argc < 1) goto bad;
                        if (!set_name_ex(&nmflag, *(++argv))) goto bad;
                        }
-               else if (strcmp(*argv,"-setalias") == 0)
-                       {
-                       if (--argc < 1) goto bad;
-                       alias= *(++argv);
-                       trustout = 1;
-                       }
 #ifndef OPENSSL_NO_ENGINE
                else if (strcmp(*argv,"-engine") == 0)
                        {