]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/rsa/rsa_asn1.c
Remove ASN1_METHOD code replace with new ASN1 alternative.
[thirdparty/openssl.git] / crypto / rsa / rsa_asn1.c
index bbbf26d50ed6b04039c5e59c0737eeaba759ede4..807f3dd440dd02529ca117b0c13f2a642dc0fc37 100644 (file)
 #include <openssl/rsa.h>
 #include <openssl/asn1t.h>
 
-static ASN1_METHOD method={
-        (I2D_OF(void))     i2d_RSAPrivateKey,
-        (D2I_OF(void))     d2i_RSAPrivateKey,
-        (void *(*)(void))  RSA_new,
-        (void (*)(void *)) RSA_free};
-
-ASN1_METHOD *RSAPrivateKey_asn1_meth(void)
-       {
-       return(&method);
-       }
-
 /* Override the default free and new methods */
 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it)
 {