Internaly declare the DSA type for no-deprecated builds
authorTomas Mraz <tomas@openssl.org>
Fri, 3 Feb 2023 13:57:04 +0000 (14:57 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 8 Feb 2023 07:50:12 +0000 (08:50 +0100)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 7a21a1b5fa2dac438892cf3292d1f9c445d870d9)
(cherry picked from commit 2ad9928170768653d19d81881deabc5f9c1665c0)

include/crypto/types.h

index 0d8140409123cf2cc519338192d15e53abb6ee3a..0a75f03a3f93308088fa87b11fc7f3d65d0dbd81 100644 (file)
@@ -20,6 +20,9 @@ typedef struct rsa_meth_st RSA_METHOD;
 typedef struct ec_key_st EC_KEY;
 typedef struct ec_key_method_st EC_KEY_METHOD;
 #  endif
+#  ifndef OPENSSL_NO_DSA
+typedef struct dsa_st DSA;
+#  endif
 # endif
 
 # ifndef OPENSSL_NO_EC