mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
tcptls.h: Repair ./configure --with-ssl=PATH.
asterisk/tcptls.h was included (explicitly, implicitly, or transitively). Those inclusions got replaced by forward declarations. As side effect, the inclusions got completed. ASTERISK-27878 Change-Id: I9d102728e30336d6522e5e4ae9e964013a0835f7
This commit is contained in:
@@ -46,18 +46,20 @@
|
||||
* be run earlier in the startup process so modules have it available.
|
||||
*
|
||||
* \ref AstTlsOverview
|
||||
*
|
||||
* \todo For SIP, the SubjectAltNames should be checked on verification
|
||||
* of the certificate. (Check RFC 5922)
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _ASTERISK_TCPTLS_H
|
||||
#define _ASTERISK_TCPTLS_H
|
||||
|
||||
#include "asterisk/netsock2.h"
|
||||
#include "asterisk/utils.h"
|
||||
#include <pthread.h> /* for pthread_t */
|
||||
#include <sys/param.h> /* for MAXHOSTNAMELEN */
|
||||
|
||||
#include "asterisk/iostream.h"
|
||||
#include "asterisk/netsock2.h" /* for ast_sockaddr */
|
||||
#include "asterisk/utils.h" /* for ast_flags */
|
||||
|
||||
struct ssl_ctx_st; /* forward declaration */
|
||||
typedef struct ssl_ctx_st SSL_CTX;
|
||||
|
||||
/*! SSL support */
|
||||
#define AST_CERTFILE "asterisk.pem"
|
||||
|
Reference in New Issue
Block a user