diff options
author | tedu <tedu@openbsd.org> | 2019-03-27 11:12:10 +0000 |
---|---|---|
committer | tedu <tedu@openbsd.org> | 2019-03-27 11:12:10 +0000 |
commit | 566f876a6fa94db44d19a3d8a7bd0fd47914b5f4 (patch) | |
tree | 33864f9d966a0146825956caa510cc6f132a0163 /lib/libtls | |
parent | fix interaction between ClientAliveInterval and RekeyLimit that could (diff) | |
download | wireguard-openbsd-566f876a6fa94db44d19a3d8a7bd0fd47914b5f4.tar.xz wireguard-openbsd-566f876a6fa94db44d19a3d8a7bd0fd47914b5f4.zip |
remove duplicate set key file call. from alf.
ok jsing
Diffstat (limited to 'lib/libtls')
-rw-r--r-- | lib/libtls/tls_config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libtls/tls_config.c b/lib/libtls/tls_config.c index 9992c606616..19dcc8b0d04 100644 --- a/lib/libtls/tls_config.c +++ b/lib/libtls/tls_config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_config.c,v 1.53 2018/11/29 14:24:23 tedu Exp $ */ +/* $OpenBSD: tls_config.c,v 1.54 2019/03/27 11:12:10 tedu Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -619,8 +619,6 @@ tls_config_set_keypair_file_internal(struct tls_config *config, return (-1); if (tls_config_set_key_file(config, key_file) != 0) return (-1); - if (tls_config_set_key_file(config, key_file) != 0) - return (-1); if (ocsp_file != NULL && tls_config_set_ocsp_staple_file(config, ocsp_file) != 0) return (-1); |