Commit fd7ca746 authored by Richard Levitte's avatar Richard Levitte
Browse files

Make 'openssl req -x509' more equivalent to 'openssl req -new'



The following would fail, or rather, freeze:

    openssl genrsa -out rsa2048.pem 2048
    openssl req -x509 -key rsa2048.pem -keyform PEM -out cert.pem

In that case, the second command wants to read a certificate request
from stdin, because -x509 wasn't fully flagged as being for creating
something new.  This changes makes it fully flagged.

RT#4655

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
parent 9c8bca1c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment