summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2018-08-24 17:30:32 +0000
committerjsing <>2018-08-24 17:30:32 +0000
commit4ca92876cd1aa45f9ac5ea123afc11e1ef4574cb (patch)
treee155083a9870a0f69abb8ecb24bb8173c2a5a5c6 /src/lib/libssl/ssl_locl.h
parent889f96509d5657ac456e0494e76acae731f1fc78 (diff)
downloadopenbsd-4ca92876cd1aa45f9ac5ea123afc11e1ef4574cb.tar.gz
openbsd-4ca92876cd1aa45f9ac5ea123afc11e1ef4574cb.tar.bz2
openbsd-4ca92876cd1aa45f9ac5ea123afc11e1ef4574cb.zip
Clean up handshake message start/finish functions.
Now that all handshake messages are created using CBB, remove the non-CBB ssl3_handshake_msg_start()/ssl3_handshake_msg_finish() functions. Rename the CBB variants by dropping the _cbb suffix. ok bcook@ inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 8e85f100aa..e5423859af 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.207 2018/08/19 15:38:03 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.208 2018/08/24 17:30:32 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 *
@@ -1137,11 +1137,9 @@ long ssl3_ctx_callback_ctrl(SSL_CTX *s, int cmd, void (*fp)(void));
1137int ssl3_pending(const SSL *s); 1137int ssl3_pending(const SSL *s);
1138 1138
1139int ssl3_handshake_msg_hdr_len(SSL *s); 1139int ssl3_handshake_msg_hdr_len(SSL *s);
1140unsigned char *ssl3_handshake_msg_start(SSL *s, uint8_t htype); 1140int ssl3_handshake_msg_start(SSL *s, CBB *handshake, CBB *body,
1141void ssl3_handshake_msg_finish(SSL *s, unsigned int len);
1142int ssl3_handshake_msg_start_cbb(SSL *s, CBB *handshake, CBB *body,
1143 uint8_t msg_type); 1141 uint8_t msg_type);
1144int ssl3_handshake_msg_finish_cbb(SSL *s, CBB *handshake); 1142int ssl3_handshake_msg_finish(SSL *s, CBB *handshake);
1145int ssl3_handshake_write(SSL *s); 1143int ssl3_handshake_write(SSL *s);
1146int ssl3_record_write(SSL *s, int type); 1144int ssl3_record_write(SSL *s, int type);
1147 1145