diff options
| author | manuel <manuel@mausz.at> | 2016-08-07 16:21:27 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-08-07 16:21:27 +0200 |
| commit | 59180d2a12cbd4cef4a45d0eedc63818ae1d14e3 (patch) | |
| tree | 0e93c928b9b292714c8d3959d48ece3c4561719e /qmail-smtpd.c | |
| parent | 017cfe9f35802a2846391cce20dfb1516dc40a30 (diff) | |
| download | qmail-59180d2a12cbd4cef4a45d0eedc63818ae1d14e3.tar.gz qmail-59180d2a12cbd4cef4a45d0eedc63818ae1d14e3.tar.bz2 qmail-59180d2a12cbd4cef4a45d0eedc63818ae1d14e3.zip | |
make qmail support EC keys
Diffstat (limited to 'qmail-smtpd.c')
| -rw-r--r-- | qmail-smtpd.c | 4 |
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) { |
