diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libtls/tls_config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libtls/tls_config.c b/src/lib/libtls/tls_config.c index 9992c60661..19dcc8b0d0 100644 --- a/src/lib/libtls/tls_config.c +++ b/src/lib/libtls/tls_config.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls_config.c,v 1.53 2018/11/29 14:24:23 tedu Exp $ */ | 1 | /* $OpenBSD: tls_config.c,v 1.54 2019/03/27 11:12:10 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -619,8 +619,6 @@ tls_config_set_keypair_file_internal(struct tls_config *config, | |||
619 | return (-1); | 619 | return (-1); |
620 | if (tls_config_set_key_file(config, key_file) != 0) | 620 | if (tls_config_set_key_file(config, key_file) != 0) |
621 | return (-1); | 621 | return (-1); |
622 | if (tls_config_set_key_file(config, key_file) != 0) | ||
623 | return (-1); | ||
624 | if (ocsp_file != NULL && | 622 | if (ocsp_file != NULL && |
625 | tls_config_set_ocsp_staple_file(config, ocsp_file) != 0) | 623 | tls_config_set_ocsp_staple_file(config, ocsp_file) != 0) |
626 | return (-1); | 624 | return (-1); |