diff options
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
| -rw-r--r-- | src/lib/libssl/s3_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index decdda90a3..8a40b758a9 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/lib/libssl/s3_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_lib.c,v 1.70 2014/07/12 22:33:39 jsing Exp $ */ | 1 | /* $OpenBSD: s3_lib.c,v 1.71 2014/07/13 16:03:10 beck 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 | * |
| @@ -2566,7 +2566,7 @@ ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) | |||
| 2566 | SSL_R_SSL3_EXT_INVALID_SERVERNAME); | 2566 | SSL_R_SSL3_EXT_INVALID_SERVERNAME); |
| 2567 | return 0; | 2567 | return 0; |
| 2568 | } | 2568 | } |
| 2569 | if ((s->tlsext_hostname = BUF_strdup((char *)parg)) | 2569 | if ((s->tlsext_hostname = strdup((char *)parg)) |
| 2570 | == NULL) { | 2570 | == NULL) { |
| 2571 | SSLerr(SSL_F_SSL3_CTRL, | 2571 | SSLerr(SSL_F_SSL3_CTRL, |
| 2572 | ERR_R_INTERNAL_ERROR); | 2572 | ERR_R_INTERNAL_ERROR); |
