From 5dd6d43a6e028b0ca943e7e14be5570b17fa3947 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 14 Jul 2024 15:56:08 +0000 Subject: [PATCH] Forgot to annotate the TMP UGLY CAST[S] as requested by jsing h/t to levitte --- lib/libssl/ssl_err.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.20.1