diff options
author | jsing <> | 2022-03-12 12:53:03 +0000 |
---|---|---|
committer | jsing <> | 2022-03-12 12:53:03 +0000 |
commit | 924b94dac6d48df7daea80927390c63e10863ed6 (patch) | |
tree | 0822cee7fbb7194d5613d2baad06f9531f240e4a /src/lib/libssl/ssl_locl.h | |
parent | 745a0da49b7b262611e528bfb7f6803314c4650f (diff) | |
download | openbsd-924b94dac6d48df7daea80927390c63e10863ed6.tar.gz openbsd-924b94dac6d48df7daea80927390c63e10863ed6.tar.bz2 openbsd-924b94dac6d48df7daea80927390c63e10863ed6.zip |
Factor out change cipher spec handing code in the legacy stack.
Factor out the code that handles the processing of a change cipher spec
message that has been read in the legacy stack, deduplicating code in the
DTLS stack.
ok inoguchi@ tb@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index ada99494db..8a2f69f840 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.386 2022/02/21 18:22:20 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.387 2022/03/12 12:53:03 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 | * |
@@ -1334,6 +1334,7 @@ void ssl_force_want_read(SSL *s); | |||
1334 | 1334 | ||
1335 | int ssl3_dispatch_alert(SSL *s); | 1335 | int ssl3_dispatch_alert(SSL *s); |
1336 | int ssl3_read_alert(SSL *s); | 1336 | int ssl3_read_alert(SSL *s); |
1337 | int ssl3_read_change_cipher_spec(SSL *s); | ||
1337 | int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); | 1338 | int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); |
1338 | int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); | 1339 | int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); |
1339 | int ssl3_output_cert_chain(SSL *s, CBB *cbb, SSL_CERT_PKEY *cpk); | 1340 | int ssl3_output_cert_chain(SSL *s, CBB *cbb, SSL_CERT_PKEY *cpk); |