From: Pauli Date: Wed, 23 Jun 2021 04:17:59 +0000 (+1000) Subject: err: add unable to get lock errors X-Git-Tag: openssl-3.0.0-beta2~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3c507797acc6049f5791062cd9b2fa5fe0aa824;p=thirdparty%2Fopenssl.git err: add unable to get lock errors Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15871) --- diff --git a/crypto/err/err.c b/crypto/err/err.c index 9b1a15d5bdf..60a9b02d19a 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -127,6 +127,8 @@ static ERR_STRING_DATA ERR_str_reasons[] = { {ERR_R_FETCH_FAILED, "fetch failed"}, {ERR_R_INVALID_PROPERTY_DEFINITION, "invalid property definition"}, + {ERR_R_UNABLE_TO_GET_READ_LOCK, "unable to get read lock"}, + {ERR_R_UNABLE_TO_GET_WRITE_LOCK, "unable to get write lock"}, {0, NULL}, }; #endif diff --git a/include/openssl/err.h.in b/include/openssl/err.h.in index 4bc5d1eea56..306656a2c10 100644 --- a/include/openssl/err.h.in +++ b/include/openssl/err.h.in @@ -358,6 +358,8 @@ static ossl_unused ossl_inline int ERR_COMMON_ERROR(unsigned long errcode) # define ERR_R_UNSUPPORTED (268|ERR_RFLAG_COMMON) # define ERR_R_FETCH_FAILED (269|ERR_RFLAG_COMMON) # define ERR_R_INVALID_PROPERTY_DEFINITION (270|ERR_RFLAG_COMMON) +# define ERR_R_UNABLE_TO_GET_READ_LOCK (271|ERR_R_FATAL) +# define ERR_R_UNABLE_TO_GET_WRITE_LOCK (272|ERR_R_FATAL) typedef struct ERR_string_data_st { unsigned long error;