mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +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
Friendly Automation
parent
c635c78265
commit
be54c7e9ea
@@ -18,9 +18,6 @@
|
|||||||
#ifndef _RES_STIR_SHAKEN_H
|
#ifndef _RES_STIR_SHAKEN_H
|
||||||
#define _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_ENCRYPTION_ALGORITHM "ES256"
|
||||||
#define STIR_SHAKEN_PPT "shaken"
|
#define STIR_SHAKEN_PPT "shaken"
|
||||||
#define STIR_SHAKEN_TYPE "passport"
|
#define STIR_SHAKEN_TYPE "passport"
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*** MODULEINFO
|
/*** MODULEINFO
|
||||||
<depend>crypto</depend>
|
|
||||||
<depend>pjproject</depend>
|
<depend>pjproject</depend>
|
||||||
<depend>res_pjsip</depend>
|
<depend>res_pjsip</depend>
|
||||||
<depend>res_pjsip_session</depend>
|
<depend>res_pjsip_session</depend>
|
||||||
|
@@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
|
|
||||||
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
#include "asterisk/module.h"
|
#include "asterisk/module.h"
|
||||||
#include "asterisk/sorcery.h"
|
#include "asterisk/sorcery.h"
|
||||||
#include "asterisk/time.h"
|
#include "asterisk/time.h"
|
||||||
|
@@ -23,6 +23,9 @@
|
|||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
|
|
||||||
|
#include <openssl/evp.h>
|
||||||
|
#include <openssl/pem.h>
|
||||||
|
|
||||||
#include "asterisk/cli.h"
|
#include "asterisk/cli.h"
|
||||||
#include "asterisk/sorcery.h"
|
#include "asterisk/sorcery.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user