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 6add7bbd6cafac4a50ce56bb825407b7f0b9fa9d..8d95a52151bb773da47b09752d8b7f0d66a1fa41 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];