diff options
author | jsing <> | 2021-10-25 10:09:28 +0000 |
---|---|---|
committer | jsing <> | 2021-10-25 10:09:28 +0000 |
commit | ca06f0eb8077fb22dbd7cd11aa65d4c1e3b1c452 (patch) | |
tree | 708ee9c17db413f47b181607dd993676182e3daa /src/lib/libssl/ssl_locl.h | |
parent | b56105c2617b86206d3688dd7940aa6e553af6e1 (diff) | |
download | openbsd-ca06f0eb8077fb22dbd7cd11aa65d4c1e3b1c452.tar.gz openbsd-ca06f0eb8077fb22dbd7cd11aa65d4c1e3b1c452.tar.bz2 openbsd-ca06f0eb8077fb22dbd7cd11aa65d4c1e3b1c452.zip |
Use ssl_force_want_read() in the DTLS code.
Also mop up some mostly unhelpful comments while here.
ok beck@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 01c22762ef..27bf5ec41f 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_locl.h,v 1.367 2021/10/25 10:01:46 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.368 2021/10/25 10:09:28 jsing 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 | * |
@@ -1372,6 +1372,8 @@ int ssl3_renegotiate(SSL *ssl); | |||
1372 | 1372 | ||
1373 | int ssl3_renegotiate_check(SSL *ssl); | 1373 | int ssl3_renegotiate_check(SSL *ssl); |
1374 | 1374 | ||
1375 | void ssl_force_want_read(SSL *s); | ||
1376 | |||
1375 | int ssl3_dispatch_alert(SSL *s); | 1377 | int ssl3_dispatch_alert(SSL *s); |
1376 | int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); | 1378 | int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); |
1377 | int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); | 1379 | int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); |