diff options
| author | tb <> | 2025-05-10 05:49:56 +0000 |
|---|---|---|
| committer | tb <> | 2025-05-10 05:49:56 +0000 |
| commit | f1cb2042ed58c0f2125c881f6786e4e3580203e7 (patch) | |
| tree | f28429979513da81728ded27271c80fa63b97a52 /src | |
| parent | 80ed5796ab047c56ff275572e0e17bab3527946e (diff) | |
| download | openbsd-f1cb2042ed58c0f2125c881f6786e4e3580203e7.tar.gz openbsd-f1cb2042ed58c0f2125c881f6786e4e3580203e7.tar.bz2 openbsd-f1cb2042ed58c0f2125c881f6786e4e3580203e7.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 | ||
