From: tb Date: Sat, 2 Mar 2024 10:32:26 +0000 (+0000) Subject: Adjust signature of ERR_load_strings() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1891cb980d3f7581144d25e06f6b791c327f7e1d;p=openbsd Adjust signature of ERR_load_strings() This aligns the prototypes with OpenSSL 1.1. ok jsing --- diff --git a/lib/libcrypto/err/err.h b/lib/libcrypto/err/err.h index e0b4354e49b..8beab1487e5 100644 --- a/lib/libcrypto/err/err.h +++ b/lib/libcrypto/err/err.h @@ -1,4 +1,4 @@ -/* $OpenBSD: err.h,v 1.32 2024/03/02 10:30:48 tb Exp $ */ +/* $OpenBSD: err.h,v 1.33 2024/03/02 10:32:26 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -378,8 +378,8 @@ void ERR_asprintf_error_data(char * format, ...); void ERR_add_error_data(int num, ...); void ERR_add_error_vdata(int num, va_list args); #endif -void ERR_load_strings(int lib, ERR_STRING_DATA str[]); -void ERR_unload_strings(int lib, ERR_STRING_DATA str[]); +void ERR_load_strings(int lib, ERR_STRING_DATA *str); +void ERR_unload_strings(int lib, ERR_STRING_DATA *str); void ERR_load_ERR_strings(void); void ERR_load_crypto_strings(void); void ERR_free_strings(void);