openssl: sort the ciphers on strength
This makes curl pick better (stronger) ciphers by default. The strongest available ciphers are fine according to the HTTP/2 spec so an OpenSSL built curl is no longer rejected by string HTTP/2 servers. Bug: http://curl.haxx.se/bug/view.cgi?id=1487
This commit is contained in:
Родитель
6d3260af64
Коммит
0d1060f21e
|
@ -106,7 +106,8 @@ bool Curl_ossl_cert_status_request(void);
|
|||
#define curlssl_md5sum(a,b,c,d) Curl_ossl_md5sum(a,b,c,d)
|
||||
#define curlssl_cert_status_request() Curl_ossl_cert_status_request()
|
||||
|
||||
#define DEFAULT_CIPHER_SELECTION "ALL!EXPORT!EXPORT40!EXPORT56!aNULL!LOW!RC4"
|
||||
#define DEFAULT_CIPHER_SELECTION \
|
||||
"ALL!EXPORT!EXPORT40!EXPORT56!aNULL!LOW!RC4@STRENGTH"
|
||||
|
||||
#endif /* USE_OPENSSL */
|
||||
#endif /* HEADER_CURL_SSLUSE_H */
|
||||
|
|
Загрузка…
Ссылка в новой задаче