Skip to content

Commit 74e3e4b

Browse files
committed
Add missing RSA_pkey_ctx_ctrl prototype for OpenSSL 1.0 compilation
1 parent f6edcb9 commit 74e3e4b

File tree

1 file changed

+1
-0
lines changed
  • src/libraries/Native/Unix/System.Security.Cryptography.Native

1 file changed

+1
-0
lines changed

src/libraries/Native/Unix/System.Security.Cryptography.Native/opensslshim.h

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ void RSA_get0_factors(const RSA* rsa, const BIGNUM** p, const BIGNUM** q);
148148
void RSA_get0_key(const RSA* rsa, const BIGNUM** n, const BIGNUM** e, const BIGNUM** d);
149149
int32_t RSA_meth_get_flags(const RSA_METHOD* meth);
150150
const RSA_METHOD* RSA_PKCS1_OpenSSL(void);
151+
int32_t RSA_pkey_ctx_ctrl(EVP_PKEY_CTX* ctx, int32_t optype, int32_t cmd, int32_t p1, void* p2);
151152
int32_t RSA_set0_crt_params(RSA* rsa, BIGNUM* dmp1, BIGNUM* dmq1, BIGNUM* iqmp);
152153
int32_t RSA_set0_factors(RSA* rsa, BIGNUM* p, BIGNUM* q);
153154
int32_t RSA_set0_key(RSA* rsa, BIGNUM* n, BIGNUM* e, BIGNUM* d);

0 commit comments

Comments
 (0)