diff options
author | tb <> | 2025-03-09 15:12:18 +0000 |
---|---|---|
committer | tb <> | 2025-03-09 15:12:18 +0000 |
commit | 85cb68064f0dbda5b0f9fd114c7c3eb0e727fa17 (patch) | |
tree | 5b5e2ff7b9d13fcc95c0f5fe74f988c748ffd3c4 /src/lib/libssl/d1_both.c | |
parent | 77bd8b3903f6a7c7c5714f242d8ce5654fc26538 (diff) | |
download | openbsd-85cb68064f0dbda5b0f9fd114c7c3eb0e727fa17.tar.gz openbsd-85cb68064f0dbda5b0f9fd114c7c3eb0e727fa17.tar.bz2 openbsd-85cb68064f0dbda5b0f9fd114c7c3eb0e727fa17.zip |
Support OPENSSL_NO_FILENAMES
Some people are concerned that leaking a user name is a privacy issue.
Allow disabling the __FILE__ and __LINE__ argument in the error stack
to avoid this. This can be improved a bit in tree.
From Viktor Szakats in https://github.com/libressl/portable/issues/761
ok bcook jsing
Diffstat (limited to 'src/lib/libssl/d1_both.c')
-rw-r--r-- | src/lib/libssl/d1_both.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index b5c68a1735..e144d8f533 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_both.c,v 1.84 2022/12/26 07:31:44 jmc Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.85 2025/03/09 15:12:18 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
@@ -868,7 +868,7 @@ dtls1_read_failed(SSL *s, int code) | |||
868 | if (code > 0) { | 868 | if (code > 0) { |
869 | #ifdef DEBUG | 869 | #ifdef DEBUG |
870 | fprintf(stderr, "invalid state reached %s:%d", | 870 | fprintf(stderr, "invalid state reached %s:%d", |
871 | __FILE__, __LINE__); | 871 | OPENSSL_FILE, OPENSSL_LINE); |
872 | #endif | 872 | #endif |
873 | return 1; | 873 | return 1; |
874 | } | 874 | } |