From c3f93833a216cc480ca9faccb76a4d97083c8571 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 2 Aug 2016 16:50:33 +0100 Subject: [PATCH] [Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey --- src/rspamadm/dkim_keygen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5