mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
res_stir_shaken: Include OpenSSL headers where used actually.
This avoids the inclusion of the OpenSSL headers in the public header, which avoids one external library dependency in res_pjsip_stir_shaken. Change-Id: I6a07e2d81d2b5442e24e99b8cc733a99f881dcf4
This commit is contained in:
committed by
George Joseph
parent
bc58e84f47
commit
64d2de19ee
@@ -18,9 +18,6 @@
|
||||
#ifndef _RES_STIR_SHAKEN_H
|
||||
#define _RES_STIR_SHAKEN_H
|
||||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
#define STIR_SHAKEN_ENCRYPTION_ALGORITHM "ES256"
|
||||
#define STIR_SHAKEN_PPT "shaken"
|
||||
#define STIR_SHAKEN_TYPE "passport"
|
||||
|
@@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
/*** MODULEINFO
|
||||
<depend>crypto</depend>
|
||||
<depend>pjproject</depend>
|
||||
<depend>res_pjsip</depend>
|
||||
<depend>res_pjsip_session</depend>
|
||||
|
@@ -25,6 +25,8 @@
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#include <openssl/evp.h>
|
||||
|
||||
#include "asterisk/module.h"
|
||||
#include "asterisk/sorcery.h"
|
||||
#include "asterisk/time.h"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
#include "asterisk.h"
|
||||
|
||||
#include <openssl/evp.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
#include "asterisk/cli.h"
|
||||
#include "asterisk/sorcery.h"
|
||||
|
||||
|
Reference in New Issue
Block a user