[mod_sofia] Fix regression in RFC-8760. SHA-512/256 was not offered because OPENSSL_VERSION_NUMBER was not defined in sofia_reg.c

This commit is contained in:
Chris Rienzo 2021-11-15 13:18:29 -05:00
parent 7b1cfea705
commit c9fba5cf39
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
/* /*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application * FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2014, Anthony Minessale II <anthm@freeswitch.org> * Copyright (C) 2005-2021, Anthony Minessale II <anthm@freeswitch.org>
* *
* Version: MPL 1.1 * Version: MPL 1.1
* *
@ -40,6 +40,7 @@
#include "mod_sofia.h" #include "mod_sofia.h"
#include "sofia-sip/hostdomain.h" #include "sofia-sip/hostdomain.h"
#include "sip-dig.h" #include "sip-dig.h"
#include "switch_ssl.h"
static void sofia_reg_new_handle(sofia_gateway_t *gateway_ptr, int attach) static void sofia_reg_new_handle(sofia_gateway_t *gateway_ptr, int attach)
{ {