summaryrefslogtreecommitdiffstats
path: root/qmail-smtpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'qmail-smtpd.c')
-rw-r--r--qmail-smtpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmail-smtpd.c b/qmail-smtpd.c
index 34643b1..35630ac 100644
--- a/qmail-smtpd.c
+++ b/qmail-smtpd.c
@@ -1401,8 +1401,8 @@ void tls_init()
1401 if (!myssl) { tls_err("unable to initialize ssl"); return; } 1401 if (!myssl) { tls_err("unable to initialize ssl"); return; }
1402 1402
1403 /* this will also check whether public and private keys match */ 1403 /* this will also check whether public and private keys match */
1404 if (!SSL_use_RSAPrivateKey_file(myssl, servercert, SSL_FILETYPE_PEM)) 1404 if (!SSL_use_PrivateKey_file(myssl, servercert, SSL_FILETYPE_PEM))
1405 { SSL_free(myssl); tls_err("no valid RSA private key"); return; } 1405 { SSL_free(myssl); tls_err("no valid private key"); return; }
1406 1406
1407 ciphers = env_get("TLSCIPHERS"); 1407 ciphers = env_get("TLSCIPHERS");
1408 if (!ciphers) { 1408 if (!ciphers) {