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

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 97501dcac8..9d93d6910c 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -846,7 +846,7 @@ start:
if (dest_maxlen > 0)
{
n = dest_maxlen - *dest_len; /* available space in 'dest' */
- if (rr->length < n)
+ if (rr->length < (unsigned int) n)
n = rr->length; /* available bytes */
/* now move 'n' bytes: */