diff options
author | Pauli <paul.dale@oracle.com> | 2020-02-10 13:29:49 +1000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-02-21 13:04:25 +0100 |
commit | 2ee0dfa684d5fbda5758136807e2732bd4f85139 (patch) | |
tree | 5560e23cc1c6316981d61bc19a105cd54c198d5f /include | |
parent | 7b5108dff4cfde059ca278147a188fb6254603d1 (diff) | |
download | openssl-2ee0dfa684d5fbda5758136807e2732bd4f85139.zip openssl-2ee0dfa684d5fbda5758136807e2732bd4f85139.tar.gz openssl-2ee0dfa684d5fbda5758136807e2732bd4f85139.tar.bz2 |
Params: add argument to the _from_text calls to indicate if the param exists.
The extra argument is a integer pointer and is optional.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11049)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/params.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/params.h b/include/openssl/params.h index a5d2fd4..cd0f784 100644 --- a/include/openssl/params.h +++ b/include/openssl/params.h @@ -92,7 +92,7 @@ OSSL_PARAM OSSL_PARAM_construct_end(void); int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdefs, const char *key, const char *value, - size_t value_n); + size_t value_n, int *found); int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val); int OSSL_PARAM_get_uint(const OSSL_PARAM *p, unsigned int *val); |