diff options
author | Matt Caswell <matt@openssl.org> | 2016-09-21 11:26:47 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-09-22 23:12:38 +0100 |
commit | c536b6be1a72aefd632d5530106a67c516cb9f4b (patch) | |
tree | dfd17f38b563cb91dbd16fe83a917ac4948c03d7 /ssl/ssl_locl.h | |
parent | 4b0fc9fc7a8767f3e6289b2b9f4527db186b3566 (diff) | |
download | openssl-c536b6be1a72aefd632d5530106a67c516cb9f4b.tar.gz |
Convert HelloVerifyRequest construction to WPACKET
We actually construct a HelloVerifyRequest in two places with common code
pulled into a single function. This one commit handles both places.
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, 2 insertions, 3 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 6ad27354d1..630fea892e 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1950,9 +1950,8 @@ void dtls1_start_timer(SSL *s); void dtls1_stop_timer(SSL *s); __owur int dtls1_is_timer_expired(SSL *s); void dtls1_double_timeout(SSL *s); -__owur unsigned int dtls_raw_hello_verify_request(unsigned char *buf, - unsigned char *cookie, - unsigned char cookie_len); +__owur int dtls_raw_hello_verify_request(WPACKET *pkt, unsigned char *cookie, + unsigned char cookie_len); __owur int dtls1_send_newsession_ticket(SSL *s); __owur unsigned int dtls1_min_mtu(SSL *s); void dtls1_hm_fragment_free(hm_fragment *frag); |