diff options
author | David Benjamin <davidben@chromium.org> | 2014-08-15 21:38:15 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-08-18 21:52:21 +0400 |
commit | fb4ea28bb84875a844cd65a9e4a2167ec884cd48 (patch) | |
tree | 0063c2ff4c003f0a0867294061eae9e84732e54c /ssl/d1_srvr.c | |
parent | f4501347c9f709fe3dad745ac96479513a1c9a8d (diff) |
Tidy DTLS cookie callback types.
const-correctness, unsigned long -> size_t.
Change-Id: Ic0c2685a48a0f98396c5753b6077c6c0c3b92326
Reviewed-on: https://boringssl-review.googlesource.com/1540
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r-- | ssl/d1_srvr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c index df691ab5..18d24704 100644 --- a/ssl/d1_srvr.c +++ b/ssl/d1_srvr.c @@ -719,8 +719,7 @@ int dtls1_send_hello_verify_request(SSL *s) *(p++) = DTLS1_VERSION & 0xFF; if (s->ctx->app_gen_cookie_cb == NULL || - s->ctx->app_gen_cookie_cb(s, s->d1->cookie, - &(s->d1->cookie_len)) == 0) + s->ctx->app_gen_cookie_cb(s, s->d1->cookie, &(s->d1->cookie_len)) == 0) { OPENSSL_PUT_ERROR(SSL, dtls1_send_hello_verify_request, ERR_R_INTERNAL_ERROR); return 0; |