diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index d70b93fead..ef6c6fa270 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -1024,7 +1024,7 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, n2s(data, len); - if (data > (d + n - len)) + if (data + len != d + n) goto err; while (data <= (d + n - 4)) { |