mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 07:27:59 -08:00
Use imsg_get_fd() to extract the fd from an imsg.
OK tb@
This commit is contained in:
parent
030c498c4e
commit
f4d4619418
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: config.c,v 1.46 2024/10/28 19:56:18 tb Exp $ */
|
||||
/* $OpenBSD: config.c,v 1.47 2024/10/31 13:37:44 claudio Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 - 2014 Reyk Floeter <reyk@openbsd.org>
|
||||
@ -1181,7 +1181,7 @@ config_getrelayfd(struct relayd *env, struct imsg *imsg)
|
||||
rlay->rl_tls_cacert_fd = imsg_get_fd(imsg);
|
||||
break;
|
||||
case RELAY_FD_CLIENTCACERT:
|
||||
rlay->rl_tls_client_ca_fd = imsg->fd;
|
||||
rlay->rl_tls_client_ca_fd = imsg_get_fd(imsg);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user