Lines 90-95
Link Here
|
90 |
unsigned char *tbuf; |
90 |
unsigned char *tbuf; |
91 |
} RSA_PKEY_CTX; |
91 |
} RSA_PKEY_CTX; |
92 |
|
92 |
|
|
|
93 |
#endif |
94 |
|
95 |
#if OPENSSL_VERSION_NUMBER < 0x10002000L || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3000100L ) |
93 |
static int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) |
96 |
static int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) |
94 |
{ |
97 |
{ |
95 |
RSA_PKEY_CTX *rctx = EVP_PKEY_CTX_get_data(ctx); |
98 |
RSA_PKEY_CTX *rctx = EVP_PKEY_CTX_get_data(ctx); |
Lines 99-104
Link Here
|
99 |
return 1; |
102 |
return 1; |
100 |
} |
103 |
} |
101 |
|
104 |
|
|
|
105 |
#endif |
106 |
|
107 |
#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) |
108 |
|
102 |
static int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) |
109 |
static int EVP_PKEY_CTX_get_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD **pmd) |
103 |
{ |
110 |
{ |
104 |
RSA_PKEY_CTX *rctx = EVP_PKEY_CTX_get_data(ctx); |
111 |
RSA_PKEY_CTX *rctx = EVP_PKEY_CTX_get_data(ctx); |