summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2022-03-12 12:53:03 +0000
committerjsing <>2022-03-12 12:53:03 +0000
commit924b94dac6d48df7daea80927390c63e10863ed6 (patch)
tree0822cee7fbb7194d5613d2baad06f9531f240e4a /src/lib/libssl/ssl_locl.h
parent745a0da49b7b262611e528bfb7f6803314c4650f (diff)
downloadopenbsd-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.h3
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
1335int ssl3_dispatch_alert(SSL *s); 1335int ssl3_dispatch_alert(SSL *s);
1336int ssl3_read_alert(SSL *s); 1336int ssl3_read_alert(SSL *s);
1337int ssl3_read_change_cipher_spec(SSL *s);
1337int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek); 1338int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len, int peek);
1338int ssl3_write_bytes(SSL *s, int type, const void *buf, int len); 1339int ssl3_write_bytes(SSL *s, int type, const void *buf, int len);
1339int ssl3_output_cert_chain(SSL *s, CBB *cbb, SSL_CERT_PKEY *cpk); 1340int ssl3_output_cert_chain(SSL *s, CBB *cbb, SSL_CERT_PKEY *cpk);