Fixups for STORE commit
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3860)
This commit is contained in:
parent
354ab3653c
commit
baa77e0755
2 changed files with 2 additions and 3 deletions
|
@ -154,8 +154,7 @@ int OSSL_STORE_close(OSSL_STORE_CTX *ctx)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Functions to generate OSSL_STORE_INFOs, one function for each type we
|
* Functions to generate OSSL_STORE_INFOs, one function for each type we
|
||||||
* support having in them. Along with each of them, one macro that
|
* support having in them as well as a generic constructor.
|
||||||
* can be used to determine what types are supported.
|
|
||||||
*
|
*
|
||||||
* In all cases, ownership of the object is transfered to the OSSL_STORE_INFO
|
* In all cases, ownership of the object is transfered to the OSSL_STORE_INFO
|
||||||
* and will therefore be freed when the OSSL_STORE_INFO is freed.
|
* and will therefore be freed when the OSSL_STORE_INFO is freed.
|
||||||
|
|
|
@ -149,7 +149,7 @@ int ossl_store_register_loader_int(OSSL_STORE_LOADER *loader)
|
||||||
if (*scheme != '\0') {
|
if (*scheme != '\0') {
|
||||||
OSSL_STOREerr(OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT,
|
OSSL_STOREerr(OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT,
|
||||||
OSSL_STORE_R_INVALID_SCHEME);
|
OSSL_STORE_R_INVALID_SCHEME);
|
||||||
ERR_add_error_data(4, "scheme=", loader->scheme);
|
ERR_add_error_data(2, "scheme=", loader->scheme);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue