From: Andrey Volk Date: Wed, 17 Nov 2021 15:17:46 +0000 (+0300) Subject: [mod_sofia] Put more comments into the code explaining that we include switch_ssl... X-Git-Tag: v1.10.8^2~111^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1446%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_sofia] Put more comments into the code explaining that we include switch_ssl.h into sofia_reg.c because of SHA-512-256 (RFC-8760) --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 10073c902d..d553f36d1e 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -40,6 +40,9 @@ #include "mod_sofia.h" #include "sofia-sip/hostdomain.h" #include "sip-dig.h" +/* This include defines OPENSSL_VERSION_NUMBER required for SHA-512-256 (RFC-8760) + Do NOT remove this line even if mod_sofia builds without it. +*/ #include "switch_ssl.h" static void sofia_reg_new_handle(sofia_gateway_t *gateway_ptr, int attach)