Fix typo preventing correct usage of -out option.
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 7 Feb 2001 14:15:41 +0000 (14:15 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 7 Feb 2001 14:15:41 +0000 (14:15 +0000)
apps/rand.c

index 6add7bb..8d95a52 100644 (file)
@@ -51,7 +51,7 @@ int MAIN(int argc, char **argv)
                        else
                                badopt = 1;
                        }
-               if (strcmp(argv[i], "-engine") == 0)
+               else if (strcmp(argv[i], "-engine") == 0)
                        {
                        if ((argv[i+1] != NULL) && (engine == NULL))
                                engine = argv[++i];