Latest update.
This commit is contained in:
+11
-7
@@ -70,10 +70,12 @@ static ERR_STRING_DATA ERR_str_libraries[] = {
|
||||
{ERR_PACK(ERR_LIB_HMAC, 0, 0), "HMAC routines"},
|
||||
{ERR_PACK(ERR_LIB_CT, 0, 0), "CT routines"},
|
||||
{ERR_PACK(ERR_LIB_ASYNC, 0, 0), "ASYNC routines"},
|
||||
{ERR_PACK(ERR_LIB_KDF, 0, 0), "KDF routines"},
|
||||
{ERR_PACK(ERR_LIB_OSSL_STORE, 0, 0), "STORE routines"},
|
||||
{ERR_PACK(ERR_LIB_SM2, 0, 0), "SM2 routines"},
|
||||
{ERR_PACK(ERR_LIB_ESS, 0, 0), "ESS routines"},
|
||||
{ERR_PACK(ERR_LIB_PROV, 0, 0), "Provider routines"},
|
||||
{ERR_PACK(ERR_LIB_OSSL_SERIALIZER, 0, 0), "SERIALIZER routines"},
|
||||
{0, NULL},
|
||||
};
|
||||
|
||||
@@ -110,6 +112,8 @@ static ERR_STRING_DATA ERR_str_reasons[] = {
|
||||
{ERR_R_DISABLED, "called a function that was disabled at compile-time"},
|
||||
{ERR_R_INIT_FAIL, "init fail"},
|
||||
{ERR_R_OPERATION_FAIL, "operation fail"},
|
||||
{ERR_R_INVALID_PROVIDER_FUNCTIONS, "invalid provider functions"},
|
||||
{ERR_R_INTERRUPTED_OR_CANCELLED, "interrupted or cancelled"},
|
||||
|
||||
{0, NULL},
|
||||
};
|
||||
@@ -407,7 +411,7 @@ unsigned long ERR_get_error_all(const char **file, int *line,
|
||||
return get_error_values(EV_POP, file, line, func, data, flags);
|
||||
}
|
||||
|
||||
#if !OPENSSL_API_3
|
||||
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
unsigned long ERR_get_error_line_data(const char **file, int *line,
|
||||
const char **data, int *flags)
|
||||
{
|
||||
@@ -442,7 +446,7 @@ unsigned long ERR_peek_error_all(const char **file, int *line,
|
||||
return get_error_values(EV_PEEK, file, line, func, data, flags);
|
||||
}
|
||||
|
||||
#if !OPENSSL_API_3
|
||||
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
unsigned long ERR_peek_error_line_data(const char **file, int *line,
|
||||
const char **data, int *flags)
|
||||
{
|
||||
@@ -477,7 +481,7 @@ unsigned long ERR_peek_last_error_all(const char **file, int *line,
|
||||
return get_error_values(EV_PEEK_LAST, file, line, func, data, flags);
|
||||
}
|
||||
|
||||
#if !OPENSSL_API_3
|
||||
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
unsigned long ERR_peek_last_error_line_data(const char **file, int *line,
|
||||
const char **data, int *flags)
|
||||
{
|
||||
@@ -621,7 +625,7 @@ const char *ERR_lib_error_string(unsigned long e)
|
||||
return ((p == NULL) ? NULL : p->string);
|
||||
}
|
||||
|
||||
#if !OPENSSL_API_3
|
||||
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
const char *ERR_func_error_string(unsigned long e)
|
||||
{
|
||||
return NULL;
|
||||
@@ -659,13 +663,13 @@ static void err_delete_thread_state(void *arg)
|
||||
ERR_STATE_free(state);
|
||||
}
|
||||
|
||||
#if !OPENSSL_API_1_1_0
|
||||
#ifndef OPENSSL_NO_DEPRECATED_1_1_0
|
||||
void ERR_remove_thread_state(void *dummy)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#if !OPENSSL_API_1_0_0
|
||||
#ifndef OPENSSL_NO_DEPRECATED_1_0_0
|
||||
void ERR_remove_state(unsigned long pid)
|
||||
{
|
||||
}
|
||||
@@ -716,7 +720,7 @@ ERR_STATE *err_get_state_int(void)
|
||||
return state;
|
||||
}
|
||||
|
||||
#if !OPENSSL_API_3
|
||||
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
ERR_STATE *ERR_get_state(void)
|
||||
{
|
||||
return err_get_state_int();
|
||||
|
||||
Reference in New Issue
Block a user