diff options
| author | jsing <> | 2020-01-23 10:48:37 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-23 10:48:37 +0000 |
| commit | a0913f8b11765018808c519315bcbc52aa7a4f27 (patch) | |
| tree | fc0b264c41bd1793ca0cfd4f15cda240d52a7e3d /src/lib/libssl/ssl_locl.h | |
| parent | af261d5b654b61f108348c38178608cc12561614 (diff) | |
| download | openbsd-a0913f8b11765018808c519315bcbc52aa7a4f27.tar.gz openbsd-a0913f8b11765018808c519315bcbc52aa7a4f27.tar.bz2 openbsd-a0913f8b11765018808c519315bcbc52aa7a4f27.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 '')
| -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); |
