]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/rsa/rsa.h
Reduce header interdependencies, initially in engine.h (the rest of the
[thirdparty/openssl.git] / crypto / rsa / rsa.h
index b3ed1edd3fc213b0155d6803788760ae9be7b7a8..f82d493f952711728c25e04c48d0f8743fbc3e2b 100644 (file)
 extern "C" {
 #endif
 
-typedef struct rsa_st RSA;
+/* Declared already in ossl_typ.h */
+/* typedef struct rsa_st RSA; */
+/* typedef struct rsa_meth_st RSA_METHOD; */
 
-typedef struct rsa_meth_st
+struct rsa_meth_st
        {
        const char *name;
        int (*rsa_pub_enc)(int flen,const unsigned char *from,
@@ -119,7 +121,7 @@ typedef struct rsa_meth_st
  * it would be nice to assume there are no such things as "builtin software"
  * implementations. */
        int (*rsa_keygen)(RSA *rsa, int bits, unsigned long e, BN_GENCB *cb);
-       } RSA_METHOD;
+       };
 
 struct rsa_st
        {