diff options
author | Chris Wilson <chris+github@qwirx.com> | 2017-10-16 20:47:58 +0100 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2017-10-16 20:47:58 +0100 |
commit | fea4efbf5648dddb63f51b4b076baceb872be87b (patch) | |
tree | 1b08a429a0f4d56910ba6c06da4ffe4f5682e328 /bin | |
parent | b1f564266c64b48b99cce410e33d8287bf444d2a (diff) |
Fix parsing of OpenSSL 1.1 output in bbstored-certs
Thanks to Dean Hamstead (@djzort on GitHub) for the bug report and the patch!
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bbstored/bbstored-certs.in | 2 |
1 files changed, 1 insertions, 1 deletions
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(<CSRTEXT>) { - $subject = $1 if m/Subject:.+?CN=([-\.\w]+)/ + $subject = $1 if m/Subject:.+?CN\s?=\s?([-\.\w]+)/; } close CSRTEXT; |