diff options
author | jsing <> | 2018-08-24 17:30:32 +0000 |
---|---|---|
committer | jsing <> | 2018-08-24 17:30:32 +0000 |
commit | 4ca92876cd1aa45f9ac5ea123afc11e1ef4574cb (patch) | |
tree | e155083a9870a0f69abb8ecb24bb8173c2a5a5c6 /src/lib/libssl/ssl_locl.h | |
parent | 889f96509d5657ac456e0494e76acae731f1fc78 (diff) | |
download | openbsd-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.h | 8 |
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)); | |||
1137 | int ssl3_pending(const SSL *s); | 1137 | int ssl3_pending(const SSL *s); |
1138 | 1138 | ||
1139 | int ssl3_handshake_msg_hdr_len(SSL *s); | 1139 | int ssl3_handshake_msg_hdr_len(SSL *s); |
1140 | unsigned char *ssl3_handshake_msg_start(SSL *s, uint8_t htype); | 1140 | int ssl3_handshake_msg_start(SSL *s, CBB *handshake, CBB *body, |
1141 | void ssl3_handshake_msg_finish(SSL *s, unsigned int len); | ||
1142 | int ssl3_handshake_msg_start_cbb(SSL *s, CBB *handshake, CBB *body, | ||
1143 | uint8_t msg_type); | 1141 | uint8_t msg_type); |
1144 | int ssl3_handshake_msg_finish_cbb(SSL *s, CBB *handshake); | 1142 | int ssl3_handshake_msg_finish(SSL *s, CBB *handshake); |
1145 | int ssl3_handshake_write(SSL *s); | 1143 | int ssl3_handshake_write(SSL *s); |
1146 | int ssl3_record_write(SSL *s, int type); | 1144 | int ssl3_record_write(SSL *s, int type); |
1147 | 1145 | ||