]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Move typedef 'RSA_OEAP_PARAMS' to openssl/types.h
authorgiorgiopapini <giorgio.papini04@gmail.com>
Thu, 12 Feb 2026 21:34:51 +0000 (22:34 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 18 Feb 2026 13:08:10 +0000 (14:08 +0100)
This avoids redefinition of the type.

CLA: trivial

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Frederik Wedel-Heinen <fwh.openssl@gmail.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
MergeDate: Wed Feb 18 13:09:26 2026
(Merged from https://github.com/openssl/openssl/pull/29994)

include/openssl/rsa.h
include/openssl/types.h

index ef1e7d06c8675aa44c840a51a6ad760aa61e5390..b789d4bf59eb5b0e9e6016992025cc7c0b7e98c7 100644 (file)
@@ -333,13 +333,13 @@ struct rsa_pss_params_st {
 DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
 DECLARE_ASN1_DUP_FUNCTION(RSA_PSS_PARAMS)
 
-typedef struct rsa_oaep_params_st {
+struct rsa_oaep_params_st {
     X509_ALGOR *hashFunc;
     X509_ALGOR *maskGenFunc;
     X509_ALGOR *pSourceFunc;
     /* Decoded hash algorithm from maskGenFunc */
     X509_ALGOR *maskHash;
-} RSA_OAEP_PARAMS;
+};
 
 DECLARE_ASN1_FUNCTIONS(RSA_OAEP_PARAMS)
 
index 592201a1894b67346a8c7a4017a23296e82e934b..ef7d2c1f3c73851f1f850d2154d994d55c945476 100644 (file)
@@ -149,7 +149,9 @@ typedef struct dsa_method DSA_METHOD;
 typedef struct rsa_st RSA;
 typedef struct rsa_meth_st RSA_METHOD;
 #endif
+
 typedef struct rsa_pss_params_st RSA_PSS_PARAMS;
+typedef struct rsa_oaep_params_st RSA_OAEP_PARAMS;
 
 #ifndef OPENSSL_NO_DEPRECATED_3_0
 typedef struct ec_key_st EC_KEY;