aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm
diff options
context:
space:
mode:
Diffstat (limited to 'src/rspamadm')
-rw-r--r--src/rspamadm/dkim_keygen.c2
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);