Mercurial > hg > xemacs-beta
comparison src/tls.c @ 5815:d59bfb050ca8
Fix TLS-related build failures. See xemacs-patches message with ID
<CAHCOHQ=YBtU8kx9UEGZa09-hz-40XJyHJ95t=tidSgbSVEU7nQ@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 08 Oct 2014 12:58:20 -0600 |
parents | a216b3c2b09e |
children | 5d5aeb79edb4 |
comparison
equal
deleted
inserted
replaced
5814:a216b3c2b09e | 5815:d59bfb050ca8 |
---|---|
1114 /* Set various useful mode bits */ | 1114 /* Set various useful mode bits */ |
1115 SSL_CTX_set_mode (ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE | | 1115 SSL_CTX_set_mode (ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE | |
1116 SSL_MODE_AUTO_RETRY | SSL_MODE_RELEASE_BUFFERS); | 1116 SSL_MODE_AUTO_RETRY | SSL_MODE_RELEASE_BUFFERS); |
1117 | 1117 |
1118 /* Let the system select the ciphers */ | 1118 /* Let the system select the ciphers */ |
1119 if (SSL_CTX_set_cipher_list (ssl_ctx, "PROFILE=SYSTEM") != 1) | 1119 if (SSL_CTX_set_cipher_list (ssl_ctx, "DEFAULT") != 1) |
1120 signal_error (Qtls_error, "SSL_CTX_set_cipher_list failed", | 1120 signal_error (Qtls_error, "SSL_CTX_set_cipher_list failed", |
1121 openssl_error_string ()); | 1121 openssl_error_string ()); |
1122 | 1122 |
1123 /* Load the set of trusted root certificates. */ | 1123 /* Load the set of trusted root certificates. */ |
1124 if (!SSL_CTX_set_default_verify_paths (ssl_ctx)) | 1124 if (!SSL_CTX_set_default_verify_paths (ssl_ctx)) |