summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-07-14 15:56:09 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-07-14 15:56:09 +0000
commita257354dee6f4a8141190675e9aed7da38108bfc (patch)
treeb7a4b64f8878d4e18693440a5a0bb1cdba2a6f75
parente05956c04338b3d835c033fa5c94481a04443236 (diff)
Forgot to annotate the TMP UGLY CAST[S] as requested by jsing
h/t to levitte
-rw-r--r--lib/libssl/ssl_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/ssl_err.c b/lib/libssl/ssl_err.c
index 61d72fac6af..6498eefd713 100644
--- a/lib/libssl/ssl_err.c
+++ b/lib/libssl/ssl_err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_err.c,v 1.50 2024/07/13 17:42:13 tb Exp $ */
+/* $OpenBSD: ssl_err.c,v 1.51 2024/07/14 15:56:08 tb Exp $ */
/* ====================================================================
* Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved.
*
@@ -476,6 +476,7 @@ ERR_load_SSL_strings(void)
{
#ifndef OPENSSL_NO_ERR
if (ERR_func_error_string(SSL_str_functs[0].error) == NULL) {
+ /* TMP UGLY CASTS */
ERR_load_strings(0, (ERR_STRING_DATA *)SSL_str_functs);
ERR_load_strings(0, (ERR_STRING_DATA *)SSL_str_reasons);
}