diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libssl/src/ssl/t1_lib.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/t1_lib.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/src/ssl/t1_lib.c b/src/lib/libssl/src/ssl/t1_lib.c index 60cef857b5..9b7f54682b 100644 --- a/src/lib/libssl/src/ssl/t1_lib.c +++ b/src/lib/libssl/src/ssl/t1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_lib.c,v 1.74 2014/12/14 14:34:43 jsing Exp $ */ | 1 | /* $OpenBSD: t1_lib.c,v 1.75 2015/03/02 13:43:09 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -395,7 +395,7 @@ tls1_get_curvelist(SSL *s, int client_curves, const uint16_t **pcurves, | |||
395 | *pcurveslen = s->tlsext_ellipticcurvelist_length; | 395 | *pcurveslen = s->tlsext_ellipticcurvelist_length; |
396 | if (*pcurves == NULL) { | 396 | if (*pcurves == NULL) { |
397 | *pcurves = eccurves_default; | 397 | *pcurves = eccurves_default; |
398 | *pcurveslen = sizeof(eccurves_default); | 398 | *pcurveslen = sizeof(eccurves_default) / 2; |
399 | } | 399 | } |
400 | } | 400 | } |
401 | 401 | ||
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c index 60cef857b5..9b7f54682b 100644 --- a/src/lib/libssl/t1_lib.c +++ b/src/lib/libssl/t1_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_lib.c,v 1.74 2014/12/14 14:34:43 jsing Exp $ */ | 1 | /* $OpenBSD: t1_lib.c,v 1.75 2015/03/02 13:43:09 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -395,7 +395,7 @@ tls1_get_curvelist(SSL *s, int client_curves, const uint16_t **pcurves, | |||
395 | *pcurveslen = s->tlsext_ellipticcurvelist_length; | 395 | *pcurveslen = s->tlsext_ellipticcurvelist_length; |
396 | if (*pcurves == NULL) { | 396 | if (*pcurves == NULL) { |
397 | *pcurves = eccurves_default; | 397 | *pcurves = eccurves_default; |
398 | *pcurveslen = sizeof(eccurves_default); | 398 | *pcurveslen = sizeof(eccurves_default) / 2; |
399 | } | 399 | } |
400 | } | 400 | } |
401 | 401 | ||