diff options
Diffstat (limited to 'providers/implementations/storemgmt/winstore_store.c')
-rw-r--r-- | providers/implementations/storemgmt/winstore_store.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/providers/implementations/storemgmt/winstore_store.c b/providers/implementations/storemgmt/winstore_store.c index e230101d73..55dcc2aff2 100644 --- a/providers/implementations/storemgmt/winstore_store.c +++ b/providers/implementations/storemgmt/winstore_store.c @@ -21,6 +21,7 @@ #include "crypto/decoder.h" #include "crypto/ctype.h" /* ossl_isdigit() */ #include "prov/implementations.h" +#include "prov/providercommon.h" #include "prov/bio.h" #include "file_store_local.h" #ifdef __CYGWIN__ @@ -119,7 +120,7 @@ static int winstore_set_ctx_params(void *loaderctx, const OSSL_PARAM params[]) const OSSL_PARAM *p; int do_reset = 0; - if (params == NULL) + if (ossl_param_is_empty(params)) return 1; p = OSSL_PARAM_locate_const(params, OSSL_STORE_PARAM_PROPERTIES); |