summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-10-15 07:10:29 +0200
committerRichard Levitte <levitte@openssl.org>2020-10-19 12:14:11 +0200
commit0ba71d6a63add7efb244965c0f18502bd786a0f7 (patch)
tree95c205161b20599ac718a87645b9003c1832d579 /include/internal
parent6c8149df1fb6fce50a914a70040955d3512b0bd6 (diff)
DH: make the private key length importable / exportable
The DH private key length, which is an optional parameter, wasn't properly imported / exported between legacy and provider side implementations. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13166)
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/param_build_set.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/param_build_set.h b/include/internal/param_build_set.h
index 36d3b914d9..d1f1863381 100644
--- a/include/internal/param_build_set.h
+++ b/include/internal/param_build_set.h
@@ -12,6 +12,8 @@
int ossl_param_build_set_int(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
const char *key, int num);
+int ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
+ const char *key, long num);
int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
const char *key, const char *buf);
int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,