From 32c520263a035d7ea86bf223d8378633ce642f80 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 12 Jun 2018 10:23:37 +0100 Subject: [Minor] Fix build with openssl >= 1.1 Issue: #2285 Closes: #2285 --- src/libserver/dkim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index 3104428a9..dd4f5d183 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -3019,7 +3019,7 @@ rspamd_dkim_match_keys (rspamd_dkim_key_t *pk, #if OPENSSL_VERSION_NUMBER >= 0x10100000L RSA_get0_key (pk->key.key_rsa, &n1, NULL, NULL); - n2 = RSA_get0_key (sk->key_rsa, &n2, NULL, NULL); + RSA_get0_key (sk->key_rsa, &n2, NULL, NULL); #else n1 = pk->key.key_rsa->n; n2 = sk->key_rsa->n; -- cgit v1.2.3