forked from pool/openssl
- fix X509_CERT_FILE path (bsc#1022271) and rename updated openssl-1.0.1e-truststore.diff to openssl-truststore.patch (forwarded request 454258 from vitezslav_cizek) OBS-URL: https://build.opensuse.org/request/show/454260 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=136
18 lines
880 B
Diff
18 lines
880 B
Diff
Don't use the legacy /etc/ssl/certs directory anymore but rather the
|
|
p11-kit generated /var/lib/ca-certificates/openssl one (fate#314991)
|
|
Index: openssl-1.0.2j/crypto/cryptlib.h
|
|
===================================================================
|
|
--- openssl-1.0.2j.orig/crypto/cryptlib.h 2017-02-01 16:50:51.103706760 +0100
|
|
+++ openssl-1.0.2j/crypto/cryptlib.h 2017-02-01 16:52:10.517058963 +0100
|
|
@@ -81,8 +81,8 @@ extern "C" {
|
|
|
|
# ifndef OPENSSL_SYS_VMS
|
|
# define X509_CERT_AREA OPENSSLDIR
|
|
-# define X509_CERT_DIR OPENSSLDIR "/certs"
|
|
-# define X509_CERT_FILE OPENSSLDIR "/cert.pem"
|
|
+# define X509_CERT_DIR "/var/lib/ca-certificates/openssl"
|
|
+# define X509_CERT_FILE "/var/lib/ca-certificates/ca-bundle.pem"
|
|
# define X509_PRIVATE_DIR OPENSSLDIR "/private"
|
|
# else
|
|
# define X509_CERT_AREA "SSLROOT:[000000]"
|