Skip to content

Commit

Permalink
MJ: Fix wbond#75 bug with openssl 3.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
BibMartin authored and BibMartin committed Aug 9, 2023
1 parent e90100e commit 3c2cdea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscrypto/_openssl/_libcrypto_cffi.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

is_libressl = 'LibreSSL' in version_string

version_match = re.search('\\b(\\d\\.\\d\\.\\d[a-z]*)\\b', version_string)
version_match = re.search('\\b(\\d\\.\\d\\.\\d+[a-z]*)\\b', version_string)
if not version_match:
version_match = re.search('(?<=LibreSSL )(\\d\\.\\d(\\.\\d)?)\\b', version_string)
if not version_match:
Expand Down

0 comments on commit 3c2cdea

Please sign in to comment.