diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-29 22:32:36 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-10-02 20:25:57 +0100 |
commit | e2726ce64dc0762d9678fb10639b0f42d9abfc52 (patch) | |
tree | 84e1ade08eedcbbb48cfd6a5267070aca2b6ed52 /ssl/ssl_locl.h | |
parent | 42cde22f487773d6baba4374f1f2cf5793ce0606 (diff) | |
download | openssl-e2726ce64dc0762d9678fb10639b0f42d9abfc52.zip openssl-e2726ce64dc0762d9678fb10639b0f42d9abfc52.tar.gz openssl-e2726ce64dc0762d9678fb10639b0f42d9abfc52.tar.bz2 |
Remove ssl_set_handshake_header()
Remove the old ssl_set_handshake_header() implementations. Later we will
rename ssl_set_handshake_header2() to ssl_set_handshake_header().
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index bad9ff7..cd44e37 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1584,8 +1584,6 @@ typedef struct ssl3_enc_method { /* Handshake header length */ unsigned int hhlen; /* Set the handshake header */ - int (*set_handshake_header) (SSL *s, int type, unsigned long len); - /* Set the handshake header */ int (*set_handshake_header2) (SSL *s, WPACKET *pkt, int type); /* Close construction of the handshake message */ int (*close_construct_packet) (SSL *s, WPACKET *pkt); @@ -1596,8 +1594,6 @@ typedef struct ssl3_enc_method { # define SSL_HM_HEADER_LENGTH(s) s->method->ssl3_enc->hhlen # define ssl_handshake_start(s) \ (((unsigned char *)s->init_buf->data) + s->method->ssl3_enc->hhlen) -# define ssl_set_handshake_header(s, htype, len) \ - s->method->ssl3_enc->set_handshake_header(s, htype, len) # define ssl_set_handshake_header2(s, pkt, htype) \ s->method->ssl3_enc->set_handshake_header2((s), (pkt), (htype)) # define ssl_close_construct_packet(s, pkt) \ @@ -1903,7 +1899,6 @@ __owur long ssl3_ctx_callback_ctrl(SSL_CTX *s, int cmd, void (*fp) (void)); __owur int ssl3_do_change_cipher_spec(SSL *ssl); __owur long ssl3_default_timeout(void); -__owur int ssl3_set_handshake_header(SSL *s, int htype, unsigned long len); __owur int ssl3_set_handshake_header2(SSL *s, WPACKET *pkt, int htype); __owur int tls_close_construct_packet(SSL *s, WPACKET *pkt); __owur int dtls1_set_handshake_header2(SSL *s, WPACKET *pkt, int htype); |