Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-08-15 21:38:15 +0400
committerAdam Langley <agl@google.com>2014-08-18 21:52:21 +0400
commitfb4ea28bb84875a844cd65a9e4a2167ec884cd48 (patch)
tree0063c2ff4c003f0a0867294061eae9e84732e54c /ssl/d1_srvr.c
parentf4501347c9f709fe3dad745ac96479513a1c9a8d (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.c3
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;