linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / openssl / 1.0.2 / use-etc-ssl-certs-darwin.patch
blob3d9ee7e6a822f3956d6e411da38deb4f5a9b1afa
1 diff -ru -x '*~' openssl-1.0.1r-orig/crypto/cryptlib.h openssl-1.0.1r/crypto/cryptlib.h
2 --- openssl-1.0.1r-orig/crypto/cryptlib.h 2016-01-28 14:38:30.000000000 +0100
3 +++ openssl-1.0.1r/crypto/cryptlib.h 2016-02-03 12:54:29.193165176 +0100
4 @@ -81,8 +81,8 @@
6 # ifndef OPENSSL_SYS_VMS
7 # define X509_CERT_AREA OPENSSLDIR
8 # define X509_CERT_DIR OPENSSLDIR "/certs"
9 -# define X509_CERT_FILE OPENSSLDIR "/cert.pem"
10 +# define X509_CERT_FILE "/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt"
11 # define X509_PRIVATE_DIR OPENSSLDIR "/private"
12 # else
13 # define X509_CERT_AREA "SSLROOT:[000000]"