summaryrefslogtreecommitdiffstats
path: root/crypto/dsa/dsa_lib.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-02-06 09:53:15 +0100
committerRichard Levitte <levitte@openssl.org>2020-03-02 03:27:03 +0100
commit2888fc1590ad31633be7a99e7288dcecd35e800c (patch)
treecbdb2a851519051511f6c654474a42b3180c193f /crypto/dsa/dsa_lib.c
parentff3b59e1705a40f7cfc6df8d788d08b0a525aa58 (diff)
PROV: Add a OP_keymgmt_match() function to our DH, DSA, RSA and EC_KEY impl
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/11158)
Diffstat (limited to 'crypto/dsa/dsa_lib.c')
-rw-r--r--crypto/dsa/dsa_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c
index 4b048d48c5..154048a3a3 100644
--- a/crypto/dsa/dsa_lib.c
+++ b/crypto/dsa/dsa_lib.c
@@ -337,3 +337,8 @@ int DSA_bits(const DSA *dsa)
{
return BN_num_bits(dsa->params.p);
}
+
+FFC_PARAMS *dsa_get0_params(DSA *dsa)
+{
+ return &dsa->params;
+}