projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b8dc6
)
update set_ctx_param store management calls to return 1 for a NULL params
author
Pauli
<ppzgs1@gmail.com>
Wed, 10 Mar 2021 08:40:00 +0000
(18:40 +1000)
committer
Pauli
<ppzgs1@gmail.com>
Thu, 11 Mar 2021 22:27:30 +0000
(08:27 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14383)
providers/implementations/storemgmt/file_store.c
patch
|
blob
|
history
diff --git
a/providers/implementations/storemgmt/file_store.c
b/providers/implementations/storemgmt/file_store.c
index 1ea820e2a448a47d5ba24a52f6af97a8fe17fab7..f4ac6e0c83fb12830b9a101ff1d9a16e64441f35 100644
(file)
--- a/
providers/implementations/storemgmt/file_store.c
+++ b/
providers/implementations/storemgmt/file_store.c
@@
-326,6
+326,9
@@
static int file_set_ctx_params(void *loaderctx, const OSSL_PARAM params[])
struct file_ctx_st *ctx = loaderctx;
const OSSL_PARAM *p;
+ if (params == NULL)
+ return 1;
+
p = OSSL_PARAM_locate_const(params, OSSL_STORE_PARAM_PROPERTIES);
if (p != NULL) {
OPENSSL_free(ctx->_.file.propq);