projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replaced all instances of SSLv23_server_method() with TLS_server_method()
[citadel.git]
/
citadel
/
modules
/
crypto
/
serv_crypto.c
diff --git
a/citadel/modules/crypto/serv_crypto.c
b/citadel/modules/crypto/serv_crypto.c
index 6e81a7176de75e1873f95482805e1cd053fc3e9f..dcbab519ec2f01a8cb90ab932fcd7ab3d7ac16f2 100644
(file)
--- a/
citadel/modules/crypto/serv_crypto.c
+++ b/
citadel/modules/crypto/serv_crypto.c
@@
-215,7
+215,7
@@
void bind_to_key_and_certificate(void) {
SSL_CTX *old_ctx, *new_ctx;
- if (!(new_ctx = SSL_CTX_new(
SSLv23
_server_method()))) {
+ if (!(new_ctx = SSL_CTX_new(
TLS
_server_method()))) {
syslog(LOG_ERR, "crypto: SSL_CTX_new failed: %s", ERR_reason_error_string(ERR_get_error()));
return;
}