diff options
author | jsing <> | 2020-01-23 10:48:37 +0000 |
---|---|---|
committer | jsing <> | 2020-01-23 10:48:37 +0000 |
commit | f6cad3f00ad53e59ae0066a0554855dba18b6a13 (patch) | |
tree | fc0b264c41bd1793ca0cfd4f15cda240d52a7e3d /src/lib/libssl/ssl_locl.h | |
parent | 85e965e5bb7032fbd27630aa6a1a8480f17ada47 (diff) | |
download | openbsd-f6cad3f00ad53e59ae0066a0554855dba18b6a13.tar.gz openbsd-f6cad3f00ad53e59ae0066a0554855dba18b6a13.tar.bz2 openbsd-f6cad3f00ad53e59ae0066a0554855dba18b6a13.zip |
Remove the ssl_get_message function pointer from SSL_METHOD_INTERNAL.
ssl_get_message is essentially a switch between ssl3_get_message and
dtls1_get_message, both only used by the legacy stack. Instead, use
SSL_IS_DTLS() in ssl3_get_message to call the DTLS function when
necessary.
ok beck@ inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 6703e8feee..cd6f13d127 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.255 2020/01/23 10:40:59 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.256 2020/01/23 10:48:37 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 | * |
@@ -393,8 +393,6 @@ typedef struct ssl_method_internal_st { | |||
393 | int (*ssl_renegotiate)(SSL *s); | 393 | int (*ssl_renegotiate)(SSL *s); |
394 | int (*ssl_renegotiate_check)(SSL *s); | 394 | int (*ssl_renegotiate_check)(SSL *s); |
395 | 395 | ||
396 | long (*ssl_get_message)(SSL *s, int st1, int stn, int mt, | ||
397 | long max, int *ok); | ||
398 | int (*ssl_pending)(const SSL *s); | 396 | int (*ssl_pending)(const SSL *s); |
399 | int (*ssl_read_bytes)(SSL *s, int type, unsigned char *buf, int len, | 397 | int (*ssl_read_bytes)(SSL *s, int type, unsigned char *buf, int len, |
400 | int peek); | 398 | int peek); |