Fix some issues in apps/req
authorPaul Yang <yang.yang@baishancloud.com>
Tue, 21 Nov 2017 14:37:23 +0000 (22:37 +0800)
committerRichard Levitte <levitte@openssl.org>
Fri, 8 Dec 2017 11:48:18 +0000 (12:48 +0100)
commitb1c05a504964a01ca54bd37e11c1ebac0f6fafdc
tree8ec7763c077b514ff14cc506a706fffdb53cf550
parentd68a0eaf45f12392065f3cf716a1a2682d55d3ce
Fix some issues in apps/req

1. the 'ignore -days' warning should not be printed without '-x509'
2. the 'ignore -days' warning should terminate with new-line

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4767)
apps/req.c