diff options
| -rw-r--r-- | src/lib/libcrypto/conf/conf_def.c | 4 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/conf/conf_def.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/conf/conf_def.c b/src/lib/libcrypto/conf/conf_def.c index e5bff15f7a..c437aeb457 100644 --- a/src/lib/libcrypto/conf/conf_def.c +++ b/src/lib/libcrypto/conf/conf_def.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: conf_def.c,v 1.27 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: conf_def.c,v 1.28 2014/07/11 15:38:03 miod 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 | * |
| @@ -313,7 +313,7 @@ again: | |||
| 313 | end = eat_alpha_numeric(conf, ss); | 313 | end = eat_alpha_numeric(conf, ss); |
| 314 | p = eat_ws(conf, end); | 314 | p = eat_ws(conf, end); |
| 315 | if (*p != ']') { | 315 | if (*p != ']') { |
| 316 | if (*p != '\0') { | 316 | if (*p != '\0' && ss != p) { |
| 317 | ss = p; | 317 | ss = p; |
| 318 | goto again; | 318 | goto again; |
| 319 | } | 319 | } |
diff --git a/src/lib/libssl/src/crypto/conf/conf_def.c b/src/lib/libssl/src/crypto/conf/conf_def.c index e5bff15f7a..c437aeb457 100644 --- a/src/lib/libssl/src/crypto/conf/conf_def.c +++ b/src/lib/libssl/src/crypto/conf/conf_def.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: conf_def.c,v 1.27 2014/07/11 08:44:48 jsing Exp $ */ | 1 | /* $OpenBSD: conf_def.c,v 1.28 2014/07/11 15:38:03 miod 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 | * |
| @@ -313,7 +313,7 @@ again: | |||
| 313 | end = eat_alpha_numeric(conf, ss); | 313 | end = eat_alpha_numeric(conf, ss); |
| 314 | p = eat_ws(conf, end); | 314 | p = eat_ws(conf, end); |
| 315 | if (*p != ']') { | 315 | if (*p != ']') { |
| 316 | if (*p != '\0') { | 316 | if (*p != '\0' && ss != p) { |
| 317 | ss = p; | 317 | ss = p; |
| 318 | goto again; | 318 | goto again; |
| 319 | } | 319 | } |
