diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-17 12:22:19 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-07-17 12:22:19 +0100 |
commit | ba3a394052b2639b3366a1c0aec2fbd5fff1e662 (patch) | |
tree | 53f7105431dfdf4d1687739c3081c76e19699ef1 /src | |
parent | d4ad6ac19dbe2d1896e0fb47ee1fb9c6bba9f391 (diff) | |
download | rspamd-ba3a394052b2639b3366a1c0aec2fbd5fff1e662.tar.gz rspamd-ba3a394052b2639b3366a1c0aec2fbd5fff1e662.zip |
[Minor] Fix build with libressl
Issue: #2347
Closes: #2347
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/dkim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index f532c5a57..6d3ace1df 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -3020,7 +3020,7 @@ rspamd_dkim_match_keys (rspamd_dkim_key_t *pk, return FALSE; } -#if OPENSSL_VERSION_NUMBER >= 0x10100000L +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) RSA_get0_key (pk->key.key_rsa, &n1, NULL, NULL); RSA_get0_key (sk->key_rsa, &n2, NULL, NULL); #else |