diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-02 16:50:33 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-02 16:50:33 +0100 |
commit | c3f93833a216cc480ca9faccb76a4d97083c8571 (patch) | |
tree | 27e826773839e4809da8475f8510812acfe70009 /src/rspamadm | |
parent | b5fd215f22a5a63d6b692fb976dc9ffeaafb0f6a (diff) | |
download | rspamd-c3f93833a216cc480ca9faccb76a4d97083c8571.tar.gz rspamd-c3f93833a216cc480ca9faccb76a4d97083c8571.zip |
[Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/dkim_keygen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/dkim_keygen.c b/src/rspamadm/dkim_keygen.c index ca559f95d..c02496178 100644 --- a/src/rspamadm/dkim_keygen.c +++ b/src/rspamadm/dkim_keygen.c @@ -127,7 +127,7 @@ rspamadm_dkim_keygen (gint argc, gchar **argv) pubout = BIO_new (BIO_s_mem()); - rc = i2d_RSAPublicKey_bio (pubout, r); + rc = i2d_RSA_PUBKEY_bio (pubout, r); publen = BIO_get_mem_data (pubout, &pubdata); g_assert (publen > 0); |