From 7a74ec170c7874b681282a81d43ff70a1fcf67fc Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 10 May 2025 05:49:56 +0000 Subject: ssl_local: provide an SSL-internal version of SYSerror() --- src/lib/libssl/ssl_local.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h index 56d3941b3b..ad49113260 100644 --- a/src/lib/libssl/ssl_local.h +++ b/src/lib/libssl/ssl_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_local.h,v 1.31 2025/05/10 05:37:22 tb Exp $ */ +/* $OpenBSD: ssl_local.h,v 1.32 2025/05/10 05:49:56 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1442,6 +1442,9 @@ int SSL_state_func_code(int _state); void SSL_error_internal(const SSL *s, int r, const char *f, int l); #define SSLerror(s, r) SSL_error_internal(s, r, OPENSSL_FILE, OPENSSL_LINE) #define SSLerrorx(r) ERR_PUT_error(ERR_LIB_SSL,(0xfff),(r),OPENSSL_FILE,OPENSSL_LINE) +#ifndef SYSerror /* XXX - remove #ifdef after error churn */ +#define SYSerror(r) ERR_PUT_error(ERR_LIB_SYS,(0xfff),(r),OPENSSL_FILE,OPENSSL_LINE) +#endif #ifndef OPENSSL_NO_SRTP -- cgit v1.2.3-55-g6feb