diff options
author | Chris Wilson <qris@users.noreply.github.com> | 2017-10-17 20:03:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-17 20:03:13 +0100 |
commit | 24aca3fc618e36e2feb448bd7b5c05b31a064bd3 (patch) | |
tree | b0ae4a2304e386aef4ef031b9d565116e0fa7f02 /bin/bbstored/bbstored-certs.in | |
parent | b1f564266c64b48b99cce410e33d8287bf444d2a (diff) | |
parent | a631c82882b039f8467a2ef9abeb343f2ec5b3da (diff) |
Merge pull request #19 from boxbackup/bbstored_certs
Fix parsing of OpenSSL 1.1 output in bbstored-certs. Fixes #18. Thanks to Dean Hamstead (@djzort on GitHub) for the bug report and the patch!
Diffstat (limited to 'bin/bbstored/bbstored-certs.in')
-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; |