summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-06-29 13:59:10 -0500
committerBenjamin Kaduk <kaduk@mit.edu>2017-07-27 14:29:48 -0500
commitbaa77e075538b3d849b5120b3b60f0caca15a803 (patch)
tree61bf325871a2b3a72c23143834eea4921f665acd
parent354ab3653c0f9a218d91d4e5679c738896253d26 (diff)
Fixups for STORE commit
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3860)
-rw-r--r--crypto/store/store_lib.c3
-rw-r--r--crypto/store/store_register.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c
index 9dc3a70a41..b982e9c753 100644
--- a/crypto/store/store_lib.c
+++ b/crypto/store/store_lib.c
@@ -154,8 +154,7 @@ int OSSL_STORE_close(OSSL_STORE_CTX *ctx)
/*
* Functions to generate OSSL_STORE_INFOs, one function for each type we
- * support having in them. Along with each of them, one macro that
- * can be used to determine what types are supported.
+ * support having in them as well as a generic constructor.
*
* 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.
diff --git a/crypto/store/store_register.c b/crypto/store/store_register.c
index b366b19958..6af7144f5c 100644
--- a/crypto/store/store_register.c
+++ b/crypto/store/store_register.c
@@ -149,7 +149,7 @@ int ossl_store_register_loader_int(OSSL_STORE_LOADER *loader)
if (*scheme != '\0') {
OSSL_STOREerr(OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT,
OSSL_STORE_R_INVALID_SCHEME);
- ERR_add_error_data(4, "scheme=", loader->scheme);
+ ERR_add_error_data(2, "scheme=", loader->scheme);
return 0;
}