fix problems found by coverity: remove useless code
[openssl.git] / apps / req.c
index f58e65ec852f9d87177d48685be32fa8b3146c0f..14bb0e0d03bee3946f40e03abdb1c75a3b21fe2b 100644 (file)
@@ -797,8 +797,6 @@ bad:
 
                app_RAND_write_file(randfile, bio_err);
 
-               if (pkey == NULL) goto end;
-
                if (keyout == NULL)
                        {
                        keyout=NCONF_get_string(req_conf,SECTION,KEYFILE);