From 594e42544b5ce98fb8157456e741cb53dfccdfed Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 17 Nov 2021 18:17:46 +0300 Subject: [PATCH] [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) --- src/mod/endpoints/mod_sofia/sofia_reg.c | 3 +++ 1 file changed, 3 insertions(+) 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)