Make -CAserial a type 's' option
authorRichard Levitte <levitte@openssl.org>
Wed, 6 May 2015 16:50:57 +0000 (18:50 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 6 May 2015 17:43:59 +0000 (19:43 +0200)
commit5c4e3a4e60f7d92ef829eb70071e29270b7b6653
tree7ed879bf3e7dae4337270480a5bf2331aae785e4
parent2455eaf43f29cf11a949b965d7aa5b2ed816dd5c
Make -CAserial a type 's' option

The file name given to -CAserial might not exist yet.  The
-CAcreateserial option decides if this is ok or not.

Previous to this change, -CAserial was a type '<' option, and in that
case, the existence of the file given as argument is tested quite
early, and is a failure if it doesn't.  With the type 's' option, the
argument is just a string that the application can do whatever it
wants with.

Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/x509.c