diff --git a/lib/des/rsa.h b/lib/des/rsa.h index f20eab12d..2fa1db3e5 100644 --- a/lib/des/rsa.h +++ b/lib/des/rsa.h @@ -59,6 +59,7 @@ #define RSA_sign hc_RSA_sign #define RSA_verify hc_RSA_verify #define d2i_RSAPrivateKey hc_d2i_RSAPrivateKey +#define i2d_RSAPublicKey hc_i2d_RSAPublicKey /* * @@ -160,5 +161,6 @@ int RSA_verify(int, const unsigned char *, unsigned int, unsigned char *, unsigned int, RSA *); RSA * d2i_RSAPrivateKey(RSA *, const unsigned char **, size_t); +int i2d_RSAPublicKey(RSA *, const unsigned char **); #endif /* _HEIM_RSA_H */