aboutsummaryrefslogtreecommitdiff
path: root/crypto/store/store_err.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-12-08 14:28:42 +0100
committerRichard Levitte <levitte@openssl.org>2017-06-29 11:55:31 +0200
commit50ecedda40d0e57c635d673c1e66cb688ed9719e (patch)
tree561d977533d62ca40f2ba85316c932efe22746fd /crypto/store/store_err.c
parent6d737ea09ba62b15df00cd99c4728a4dc55086df (diff)
downloadopenssl-50ecedda40d0e57c635d673c1e66cb688ed9719e.zip
openssl-50ecedda40d0e57c635d673c1e66cb688ed9719e.tar.gz
openssl-50ecedda40d0e57c635d673c1e66cb688ed9719e.tar.bz2
STORE: Add a OSSL_STORE_INFO type to help support file handler restarts
Some containers might very simply decode into something new that deserves to be considered as new (embedded) data. With the help of a special OSSL_STORE_INFO type, make that new data available to the loader functions so they can start over. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3542)
Diffstat (limited to 'crypto/store/store_err.c')
-rw-r--r--crypto/store/store_err.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/store/store_err.c b/crypto/store/store_err.c
index ab8439c..0f3a6a1 100644
--- a/crypto/store/store_err.c
+++ b/crypto/store/store_err.c
@@ -36,6 +36,8 @@ static const ERR_STRING_DATA OSSL_STORE_str_functs[] = {
"OSSL_STORE_INFO_new_CERT"},
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_CRL, 0),
"OSSL_STORE_INFO_new_CRL"},
+ {ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_EMBEDDED, 0),
+ "ossl_store_info_new_EMBEDDED"},
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_NAME, 0),
"OSSL_STORE_INFO_new_NAME"},
{ERR_PACK(ERR_LIB_OSSL_STORE, OSSL_STORE_F_OSSL_STORE_INFO_NEW_PARAMS, 0),