[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)

This commit is contained in:
Andrey Volk 2021-11-17 18:17:46 +03:00
parent d1372cd6e5
commit 594e42544b
1 changed files with 3 additions and 0 deletions

View File

@ -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)