projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa7dd6
)
u_len may be unused.
author
Ben Laurie
<ben@links.org>
Sun, 19 Apr 2015 13:30:56 +0000
(14:30 +0100)
committer
Ben Laurie
<ben@links.org>
Fri, 1 May 2015 16:46:17 +0000
(17:46 +0100)
Reviewed-by: Andy Polyakov
ssl/record/rec_layer_s3.c
patch
|
blob
|
history
diff --git
a/ssl/record/rec_layer_s3.c
b/ssl/record/rec_layer_s3.c
index b7d43f3543ac4e423eabb51ef4a49d04bac5fd0a..0ed82f727e7e9a6c933b38045c9ef8800e3d30ef 100644
(file)
--- a/
ssl/record/rec_layer_s3.c
+++ b/
ssl/record/rec_layer_s3.c
@@
-445,10
+445,10
@@
int ssl3_write_bytes(SSL *s, int type, const void *buf_, int len)
unsigned int n, nw;
#if !defined(OPENSSL_NO_MULTIBLOCK) && EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK
unsigned int max_send_fragment;
+ unsigned int u_len = (unsigned int)len;
#endif
SSL3_BUFFER *wb = &s->rlayer.wbuf;
int i;
- unsigned int u_len = (unsigned int)len;
if (len < 0) {
SSLerr(SSL_F_SSL3_WRITE_BYTES, SSL_R_SSL_NEGATIVE_LENGTH);