diff options
author | tb <> | 2025-05-10 05:49:56 +0000 |
---|---|---|
committer | tb <> | 2025-05-10 05:49:56 +0000 |
commit | 7a74ec170c7874b681282a81d43ff70a1fcf67fc (patch) | |
tree | f28429979513da81728ded27271c80fa63b97a52 /src | |
parent | 2321faaac494ba6625d1e982ca3dff18e17738ab (diff) | |
download | openbsd-7a74ec170c7874b681282a81d43ff70a1fcf67fc.tar.gz openbsd-7a74ec170c7874b681282a81d43ff70a1fcf67fc.tar.bz2 openbsd-7a74ec170c7874b681282a81d43ff70a1fcf67fc.zip |
ssl_local: provide an SSL-internal version of SYSerror()
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/ssl_local.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ | |||
1 | /* $OpenBSD: ssl_local.h,v 1.31 2025/05/10 05:37:22 tb Exp $ */ | 1 | /* $OpenBSD: ssl_local.h,v 1.32 2025/05/10 05:49:56 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1442,6 +1442,9 @@ int SSL_state_func_code(int _state); | |||
1442 | void SSL_error_internal(const SSL *s, int r, const char *f, int l); | 1442 | void SSL_error_internal(const SSL *s, int r, const char *f, int l); |
1443 | #define SSLerror(s, r) SSL_error_internal(s, r, OPENSSL_FILE, OPENSSL_LINE) | 1443 | #define SSLerror(s, r) SSL_error_internal(s, r, OPENSSL_FILE, OPENSSL_LINE) |
1444 | #define SSLerrorx(r) ERR_PUT_error(ERR_LIB_SSL,(0xfff),(r),OPENSSL_FILE,OPENSSL_LINE) | 1444 | #define SSLerrorx(r) ERR_PUT_error(ERR_LIB_SSL,(0xfff),(r),OPENSSL_FILE,OPENSSL_LINE) |
1445 | #ifndef SYSerror /* XXX - remove #ifdef after error churn */ | ||
1446 | #define SYSerror(r) ERR_PUT_error(ERR_LIB_SYS,(0xfff),(r),OPENSSL_FILE,OPENSSL_LINE) | ||
1447 | #endif | ||
1445 | 1448 | ||
1446 | #ifndef OPENSSL_NO_SRTP | 1449 | #ifndef OPENSSL_NO_SRTP |
1447 | 1450 | ||