diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-12 10:23:37 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-12 10:23:37 +0100 |
commit | 32c520263a035d7ea86bf223d8378633ce642f80 (patch) | |
tree | b4ada036289909bcd7cd9e844f1167be536a3264 | |
parent | 9d6477913e50e2c73efbede6f01a37b615cae335 (diff) | |
download | rspamd-32c520263a035d7ea86bf223d8378633ce642f80.tar.gz rspamd-32c520263a035d7ea86bf223d8378633ce642f80.zip |
[Minor] Fix build with openssl >= 1.1
Issue: #2285
Closes: #2285
-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 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; |