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:
parent
c635c78265
commit
be54c7e9ea
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue