Merge pull request #1446 from signalwire/fix-rfc8760

[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:48:28 +03:00 committed by GitHub
commit 3625f5c3f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)