mirror of
https://github.com/openbsd/src.git
synced 2026-04-25 22:56:14 +00:00
remove dup block that tries to close tls client ca fd
it's already closed and fd set to -1 a few lines above. diff from Marc Jorge (openbsd [at] cypher-fox com), thanks!
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: config.c,v 1.48 2026/03/02 19:28:01 rsadowski Exp $ */
|
||||
/* $OpenBSD: config.c,v 1.49 2026/04/03 09:36:21 op Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
|
||||
@@ -1025,10 +1025,6 @@ config_setrelay(struct relayd *env, struct relay *rlay)
|
||||
cert->cert_ocsp_fd = -1;
|
||||
}
|
||||
}
|
||||
if (rlay->rl_tls_client_ca_fd != -1) {
|
||||
close(rlay->rl_tls_client_ca_fd);
|
||||
rlay->rl_tls_client_ca_fd = -1;
|
||||
}
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user