aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libserver/dkim.c2
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