[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Sat Oct 7 22:23:04 UTC 2017
The branch master has been updated
via 32cd473392d20b70bf6f1272a873f47a71a9417b (commit)
from fa4dd546c531ba2ec886531aa5adfd480ed2a094 (commit)
- Log -----------------------------------------------------------------
commit 32cd473392d20b70bf6f1272a873f47a71a9417b
Author: Rich Salz <rsalz at openssl.org>
Date: Sat Oct 7 14:59:18 2017 -0400
Anchor the regexp match
Reviewed-by: Richard Levitte <levitte at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4483)
-----------------------------------------------------------------------
Summary of changes:
apps/CA.pl.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/CA.pl.in b/apps/CA.pl.in
index b5c4f59..6306fa4 100644
--- a/apps/CA.pl.in
+++ b/apps/CA.pl.in
@@ -127,7 +127,7 @@ if ($WHAT eq '-newcert' ) {
# create a pre-certificate
$RET = run("$REQ -x509 -precert -keyout $NEWKEY -out $NEWCERT $DAYS");
print "Pre-cert is in $NEWCERT, private key is in $NEWKEY\n" if $RET == 0;
-} elsif ($WHAT =~ /\-newreq(\-nodes)?/ ) {
+} elsif ($WHAT =~ /^\-newreq(\-nodes)?$/ ) {
# create a certificate request
$RET = run("$REQ -new $1 -keyout $NEWKEY -out $NEWREQ $DAYS $EXTRA{req}");
print "Request is in $NEWREQ, private key is in $NEWKEY\n" if $RET == 0;
More information about the openssl-commits
mailing list