diff options
Diffstat (limited to 'src/lib/libssl/ssl_cert.c')
| -rw-r--r-- | src/lib/libssl/ssl_cert.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_cert.c b/src/lib/libssl/ssl_cert.c index 4641ac92d0..af8ef329b4 100644 --- a/src/lib/libssl/ssl_cert.c +++ b/src/lib/libssl/ssl_cert.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_cert.c,v 1.75 2019/04/13 18:04:05 tb Exp $ */ | 1 | /* $OpenBSD: ssl_cert.c,v 1.76 2019/05/15 09:13:16 bcook 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 | * |
| @@ -508,8 +508,7 @@ SSL_get_client_CA_list(const SSL *s) | |||
| 508 | { | 508 | { |
| 509 | if (s->internal->type == SSL_ST_CONNECT) { | 509 | if (s->internal->type == SSL_ST_CONNECT) { |
| 510 | /* We are in the client. */ | 510 | /* We are in the client. */ |
| 511 | if (((s->version >> 8) == SSL3_VERSION_MAJOR) && | 511 | if ((s->version >> 8) == SSL3_VERSION_MAJOR) |
| 512 | (s->s3 != NULL)) | ||
| 513 | return (S3I(s)->tmp.ca_names); | 512 | return (S3I(s)->tmp.ca_names); |
| 514 | else | 513 | else |
| 515 | return (NULL); | 514 | return (NULL); |
