diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-07-31 12:19:51 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-31 12:19:51 +0200 |
commit | a439e438f3662f12c003bda3c8cc3f6de09b4da0 (patch) | |
tree | 953d5cb7766efbcc4e63f47caa420a9e4a303a41 /lib/vtls/polarssl.h | |
parent | 028a408d57cfcc891b9b88f1d56bc130980e11d0 (diff) |
ssl: generalize how the ssl backend identifier is set
Each backend now defines CURL_SSL_BACKEND accordingly. Added the *AXTLS
one which was missing previously.
Diffstat (limited to 'lib/vtls/polarssl.h')
-rw-r--r-- | lib/vtls/polarssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/polarssl.h b/lib/vtls/polarssl.h index 6c5b872c8..9ab7e47e5 100644 --- a/lib/vtls/polarssl.h +++ b/lib/vtls/polarssl.h @@ -62,6 +62,7 @@ int Curl_polarssl_shutdown(struct connectdata *conn, int sockindex); #define curlssl_version Curl_polarssl_version #define curlssl_check_cxn(x) (x=x, -1) #define curlssl_data_pending(x,y) (x=x, y=y, 0) +#define CURL_SSL_BACKEND CURLSSLBACKEND_POLARSSL /* This might cause libcurl to use a weeker random! TODO: implement proper use of Polarssl's CTR-DRBG or HMAC-DRBG and use that |