diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-29 22:40:15 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-10-02 20:25:57 +0100 |
commit | a29fa98cebdb2904dcf844d1aea7d1be3b6b913a (patch) | |
tree | de93310444bc4ab5a232992bc03192a20a63aedd /ssl/s3_lib.c | |
parent | e2726ce64dc0762d9678fb10639b0f42d9abfc52 (diff) |
Rename ssl_set_handshake_header2()
ssl_set_handshake_header2() was only ever a temporary name while we had
to have ssl_set_handshake_header() for code that hadn't been converted to
WPACKET yet. No code remains that needed that so we can rename it.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r-- | ssl/s3_lib.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 02cf88be45..630c94d383 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -2750,7 +2750,7 @@ const SSL3_ENC_METHOD SSLv3_enc_data = { int use_context))ssl_undefined_function, 0, SSL3_HM_HEADER_LENGTH, - ssl3_set_handshake_header2, + ssl3_set_handshake_header, tls_close_construct_packet, ssl3_handshake_write }; @@ -2777,13 +2777,7 @@ const SSL_CIPHER *ssl3_get_cipher(unsigned int u) return (NULL); } -/* - * Temporary name. To be renamed ssl3_set_handshake_header() once all WPACKET - * conversion is complete. The old ssl3_set_handshake_heder() can be deleted - * at that point. - * TODO - RENAME ME - */ -int ssl3_set_handshake_header2(SSL *s, WPACKET *pkt, int htype) +int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype) { /* Set the content type and 3 bytes for the message len */ if (!WPACKET_put_bytes_u8(pkt, htype) |