Commit 2cfa6921 authored by Bodo Möller's avatar Bodo Möller
Browse files

Return 0 for succesful exit when -noout is used.

parent 364836ca
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -288,7 +288,11 @@ bad:
			}
		}
		
	if (noout) goto end;
	if (noout)
		{
		ret = 0;
		goto end;
		}
	BIO_printf(bio_err,"writing RSA private key\n");
	if 	(outformat == FORMAT_ASN1)
		i=i2d_RSAPrivateKey_bio(out,rsa);