diff options
author | tb <> | 2023-12-29 12:24:33 +0000 |
---|---|---|
committer | tb <> | 2023-12-29 12:24:33 +0000 |
commit | 478738b6c1a32e580360e52244a9f70a6d84b967 (patch) | |
tree | 63b098be008d3bd6041d78d9a5fe9c6c51396721 /src/lib/libssl/ssl_local.h | |
parent | babb3323a9b758848d4756d3ea704a02aa7f586f (diff) | |
download | openbsd-478738b6c1a32e580360e52244a9f70a6d84b967.tar.gz openbsd-478738b6c1a32e580360e52244a9f70a6d84b967.tar.bz2 openbsd-478738b6c1a32e580360e52244a9f70a6d84b967.zip |
Neuter the SSL_set_debug(3) API
The TLSv1.3 stack didn't support this in the first place, and in the legacy
stack it only added some dubious BIO_flush(3) calls. The sleep call between
SSL_read(3) and SSL_write(3) advertised in the comment next to the flag has
been a sleep call in the s_server since time immemorial, nota bene between
calls to BIO_gets(3). Anyway. This can all go and what remains will go with
the next major bump.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_local.h')
-rw-r--r-- | src/lib/libssl/ssl_local.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_local.h b/src/lib/libssl/ssl_local.h index a2c2588c38..bd6275fac7 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.11 2023/11/29 13:39:34 tb Exp $ */ | 1 | /* $OpenBSD: ssl_local.h,v 1.12 2023/12/29 12:24:33 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 | * |
@@ -1074,9 +1074,6 @@ struct ssl_st { | |||
1074 | /* for server side, keep the list of CA_dn we can use */ | 1074 | /* for server side, keep the list of CA_dn we can use */ |
1075 | STACK_OF(X509_NAME) *client_CA; | 1075 | STACK_OF(X509_NAME) *client_CA; |
1076 | 1076 | ||
1077 | /* set this flag to 1 and a sleep(1) is put into all SSL_read() | ||
1078 | * and SSL_write() calls, good for nbio debugging :-) */ | ||
1079 | int debug; | ||
1080 | long max_cert_list; | 1077 | long max_cert_list; |
1081 | int first_packet; | 1078 | int first_packet; |
1082 | 1079 | ||