From: William Lallemand Date: Mon, 9 Mar 2020 15:53:42 +0000 (+0100) Subject: CLEANUP: ssl: is_default is a bit in ckch_inst X-Git-Tag: v2.2-dev5~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a52846603507411b6e6391448876dfc26c02499;p=thirdparty%2Fhaproxy.git CLEANUP: ssl: is_default is a bit in ckch_inst The field is_default becomes a bit in the ckch_inst structure. --- diff --git a/include/types/ssl_sock.h b/include/types/ssl_sock.h index c67085e1c2..716be8936c 100644 --- a/include/types/ssl_sock.h +++ b/include/types/ssl_sock.h @@ -129,7 +129,8 @@ struct ckch_inst { struct bind_conf *bind_conf; /* pointer to the bind_conf that uses this ckch_inst */ struct ssl_bind_conf *ssl_conf; /* pointer to the ssl_conf which is used by every sni_ctx of this inst */ struct ckch_store *ckch_store; /* pointer to the store used to generate this inst */ - int is_default; /* This instance is used as the default ctx for this bind_conf */ + unsigned int is_default:1; /* This instance is used as the default ctx for this bind_conf */ + /* space for more flag there */ struct list sni_ctx; /* list of sni_ctx using this ckch_inst */ struct list by_ckchs; /* chained in ckch_store's list of ckch_inst */ };