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:
authorAdam Langley <agl@chromium.org>2014-08-01 02:23:51 +0400
committerAdam Langley <agl@google.com>2014-08-12 02:10:02 +0400
commitded93581f1674f81faa0dba4b15a842756066ab2 (patch)
tree3ef888c2d7c3fda23863a147ba3552173318e33a /ssl/t1_lib.c
parentd83f38c13a1f943db651cf5e85f9b2f04e80c4a6 (diff)
Windows build fixes.
Windows doesn't have ssize_t, sadly. There's SSIZE_T, but defining an OPENSSL_SSIZE_T seems worse than just using an int. Change-Id: I09bb5aa03f96da78b619e551f92ed52ce24d9f3f Reviewed-on: https://boringssl-review.googlesource.com/1352 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/t1_lib.c')
-rw-r--r--ssl/t1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 8e77ef2c..df7b3fb5 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -1653,7 +1653,7 @@ unsigned char *ssl_add_serverhello_tlsext(SSL *s, unsigned char *buf, unsigned c
* returns: 1 on success. */
static int tls1_alpn_handle_client_hello(SSL *s, CBS *cbs, int *out_alert)
{
- CBS protocol_name_list;
+ CBS protocol_name_list, protocol_name_list_copy;
const unsigned char *selected;
unsigned char selected_len;
int r;
@@ -1667,7 +1667,7 @@ static int tls1_alpn_handle_client_hello(SSL *s, CBS *cbs, int *out_alert)
goto parse_error;
/* Validate the protocol list. */
- CBS protocol_name_list_copy = protocol_name_list;
+ protocol_name_list_copy = protocol_name_list;
while (CBS_len(&protocol_name_list_copy) > 0)
{
CBS protocol_name;