]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix confusing OpenSSL API usage of i2d_RSAPublicKey
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Aug 2016 15:50:33 +0000 (16:50 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Aug 2016 15:50:33 +0000 (16:50 +0100)
src/rspamadm/dkim_keygen.c

index ca559f95d94277d1eb0038b966b3e0180e87d50e..c0249617843d2e16fd9f565b75ddb6f3ae8c3ef3 100644 (file)
@@ -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);