Skip to content

Commit 509b3c8

Browse files
committed
Remove support for OpenSSL older than 1.0.2
Fixes #584
1 parent c315280 commit 509b3c8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ NEWS for Libp11 -- History of user visible changes
33
New in 0.4.14; unreleased
44
* Added support for the "pkcs11prov" provider with OpenSSL 3.0
55
(Małgorzata Olszówka)
6+
* Removed support for OpenSSL older than 1.0.2 (Michał Trojnara)
67

78
New in 0.4.13; 2024-12-13; Michał Trojnara
89
* Increased maximum PIN length (Michał Trojnara)

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ fi
232232

233233
PKG_CHECK_MODULES(
234234
[OPENSSL],
235-
[libcrypto >= 1.0.0],
235+
[libcrypto >= 1.0.2],
236236
,
237-
[AC_MSG_ERROR([libcrypto >= 1.0.0 is required])]
237+
[AC_MSG_ERROR([libcrypto >= 1.0.2 is required])]
238238
)
239239

240240
AC_CHECK_FUNCS([ X509_get0_notAfter X509_get0_notBefore ])

testall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test ! -f Makefile || make distclean
5151
for pkg_config_libdir in /opt/openssl-[0-9]*/lib*/pkgconfig /usr/local/ssl-[0-9]*/lib*/pkgconfig; do
5252
test -d "$pkg_config_libdir" || continue
5353
openssl_version=$(echo "$pkg_config_libdir" | sed 's/.*ssl-\([0-9.]*\).*/\1/')
54-
awk -v "ver=$openssl_version" 'BEGIN {exit !(ver >= "1.0.0")}' || continue
54+
awk -v "ver=$openssl_version" 'BEGIN {exit !(ver >= "1.0.2")}' || continue
5555
testone "$pkg_config_libdir"
5656
done
5757

0 commit comments

Comments
 (0)