From: Chris Rienzo Date: Mon, 15 Nov 2021 18:18:29 +0000 (-0500) Subject: [mod_sofia] Fix regression in RFC-8760. SHA-512/256 was not offered because OPENSSL_V... X-Git-Tag: v1.10.8^2~113^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1441%2Fhead;p=thirdparty%2Ffreeswitch.git [mod_sofia] Fix regression in RFC-8760. SHA-512/256 was not offered because OPENSSL_VERSION_NUMBER was not defined in sofia_reg.c --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index ba9d4d0c71..10073c902d 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -1,6 +1,6 @@ /* * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application - * Copyright (C) 2005-2014, Anthony Minessale II + * Copyright (C) 2005-2021, Anthony Minessale II * * Version: MPL 1.1 * @@ -40,6 +40,7 @@ #include "mod_sofia.h" #include "sofia-sip/hostdomain.h" #include "sip-dig.h" +#include "switch_ssl.h" static void sofia_reg_new_handle(sofia_gateway_t *gateway_ptr, int attach) {