From fea4efbf5648dddb63f51b4b076baceb872be87b Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 16 Oct 2017 20:47:58 +0100 Subject: Fix parsing of OpenSSL 1.1 output in bbstored-certs Thanks to Dean Hamstead (@djzort on GitHub) for the bug report and the patch! --- bin/bbstored/bbstored-certs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/bbstored/bbstored-certs.in b/bin/bbstored/bbstored-certs.in index 85560748..00085662 100755 --- a/bin/bbstored/bbstored-certs.in +++ b/bin/bbstored/bbstored-certs.in @@ -288,7 +288,7 @@ sub get_csr_common_name my $subject; while() { - $subject = $1 if m/Subject:.+?CN=([-\.\w]+)/ + $subject = $1 if m/Subject:.+?CN\s?=\s?([-\.\w]+)/; } close CSRTEXT; -- cgit v1.2.3