Commit 720867b
committed
Fix warnings and errors when building with LibreSSL and OpenSSL 1.1.1w.
* buckets/ssl_buckets.c
(ssl_x509_ex_data_idx): Make conditional on SERF_HAVE_OSSL_STORE_OPEN_EX.
* test/test_ssl.c
(client_cert_uri_conn_setup): Likewise, make conditional.
(SERF__OPENSSL_VERSION_PREREQ): Define this macro to expand to false if
OPENSSL_VERSION_PREREQ is not defined, otherwise make it an alias.
(test_ssl_revoked_server_cert,
test_ssl_ocsp_verify_response_no_signer): Use our new ...PREREQ macro
instead of the previous invalid usage that broke compiling with older
versions of OpenSSL.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1931107 13f79535-47bb-0310-9956-ffa450edef681 parent f197558 commit 720867b
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
1174 | 1182 | | |
1175 | 1183 | | |
1176 | 1184 | | |
| 1185 | + | |
1177 | 1186 | | |
1178 | 1187 | | |
1179 | 1188 | | |
| |||
1201 | 1210 | | |
1202 | 1211 | | |
1203 | 1212 | | |
| 1213 | + | |
1204 | 1214 | | |
1205 | 1215 | | |
1206 | 1216 | | |
| |||
1394 | 1404 | | |
1395 | 1405 | | |
1396 | 1406 | | |
1397 | | - | |
| 1407 | + | |
1398 | 1408 | | |
1399 | 1409 | | |
1400 | 1410 | | |
| |||
2794 | 2804 | | |
2795 | 2805 | | |
2796 | 2806 | | |
2797 | | - | |
| 2807 | + | |
2798 | 2808 | | |
2799 | 2809 | | |
2800 | 2810 | | |
| |||
0 commit comments