summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
-rw-r--r--src/lib/libcrypto/err/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c
index 4ab667e19a..c20773d310 100644
--- a/src/lib/libcrypto/err/err.c
+++ b/src/lib/libcrypto/err/err.c
@@ -1017,7 +1017,7 @@ ERR_get_state(void)
1017 1017
1018 /* ret == the error state, if NULL, make a new one */ 1018 /* ret == the error state, if NULL, make a new one */
1019 if (ret == NULL) { 1019 if (ret == NULL) {
1020 ret = (ERR_STATE *)malloc(sizeof(ERR_STATE)); 1020 ret = malloc(sizeof(ERR_STATE));
1021 if (ret == NULL) 1021 if (ret == NULL)
1022 return (&fallback); 1022 return (&fallback);
1023 CRYPTO_THREADID_cpy(&ret->tid, &tid); 1023 CRYPTO_THREADID_cpy(&ret->tid, &tid);