diff options
author | John Malmberg <wb8tyw@qsl.net> | 2015-07-01 20:54:09 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-07-14 01:25:36 -0400 |
commit | 79416fb2d6d906210c93e6f5710cea201bdf6b0e (patch) | |
tree | 53ccb87492c6631f093e614a2c9ec0e5a52a0008 /lib/vtls/openssl.h | |
parent | 8f0178a56b72325a3906c0678a029cd33cfec84d (diff) |
openssl: VMS support for SHA256
setup-vms.h: More symbols for SHA256, hacks for older VAX
openssl.h: Use OpenSSL OPENSSL_NO_SHA256 macro to allow building on VAX.
openssl.c: Use OpenSSL version checks and OPENSSL_NO_SHA256 macro to
allow building on VAX and 64 bit VMS.
Diffstat (limited to 'lib/vtls/openssl.h')
-rw-r--r-- | lib/vtls/openssl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/openssl.h b/lib/vtls/openssl.h index ebac542b7..a1f347a05 100644 --- a/lib/vtls/openssl.h +++ b/lib/vtls/openssl.h @@ -108,7 +108,9 @@ bool Curl_ossl_cert_status_request(void); #define curlssl_data_pending(x,y) Curl_ossl_data_pending(x,y) #define curlssl_random(x,y,z) Curl_ossl_random(x,y,z) #define curlssl_md5sum(a,b,c,d) Curl_ossl_md5sum(a,b,c,d) +#ifndef OPENSSL_NO_SHA256 #define curlssl_sha256sum(a,b,c,d) Curl_ossl_sha256sum(a,b,c,d) +#endif #define curlssl_cert_status_request() Curl_ossl_cert_status_request() #define DEFAULT_CIPHER_SELECTION \ |