summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_lib.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-05-02 13:31:47 +0200
committerRichard Levitte <levitte@openssl.org>2020-05-14 12:16:35 +0200
commit8a758e96f2865f0aee417025630626f095bb3ae3 (patch)
treeea497649d8b140e9c9f681a09506e2c6676b2ce1 /crypto/rsa/rsa_lib.c
parent0ec36bf117b2c79f5663effd638410f1676c38dd (diff)
PROV & KEYMGMT: Add PSS-parameter support in the RSA KEYMGMT implementation
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11710)
Diffstat (limited to 'crypto/rsa/rsa_lib.c')
-rw-r--r--crypto/rsa/rsa_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c
index d1fee590a8..466115f7a0 100644
--- a/crypto/rsa/rsa_lib.c
+++ b/crypto/rsa/rsa_lib.c
@@ -184,6 +184,11 @@ int RSA_up_ref(RSA *r)
return i > 1 ? 1 : 0;
}
+OPENSSL_CTX *rsa_get0_libctx(RSA *r)
+{
+ return r->libctx;
+}
+
#ifndef FIPS_MODULE
int RSA_set_ex_data(RSA *r, int idx, void *arg)
{