]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
tcptls.h: Remove redundant SSL_CTX typedef.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 18 Jun 2018 18:17:49 +0000 (13:17 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 18 Jun 2018 18:17:49 +0000 (13:17 -0500)
It is invalid to typedef something more than once.  Though not all gcc
compilers on different OS's complain about it.

Change-Id: I5a7d4565990c985822d61ce75bde0b45f9870540

include/asterisk/tcptls.h

index 0a6e25e45bd685b55d617b60709df851e9f8206c..0b943ce8081a6bba2f5b044bf31a2533e80cfbfe 100644 (file)
@@ -58,9 +58,6 @@
 #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"