[Asterisk-code-review] tcptls.h: Remove redundant SSL CTX typedef. (asterisk[15])
Jenkins2
asteriskteam at digium.com
Wed Jun 20 06:16:32 CDT 2018
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/9195 )
Change subject: tcptls.h: Remove redundant SSL_CTX typedef.
......................................................................
tcptls.h: Remove redundant SSL_CTX typedef.
It is invalid to typedef something more than once. Though not all gcc
compilers on different OS's complain about it.
Change-Id: I5a7d4565990c985822d61ce75bde0b45f9870540
---
M include/asterisk/tcptls.h
1 file changed, 0 insertions(+), 3 deletions(-)
Approvals:
George Joseph: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
Objections:
Alexander Traud: I would prefer this is not merged as is
diff --git a/include/asterisk/tcptls.h b/include/asterisk/tcptls.h
index 0a6e25e..0b943ce 100644
--- a/include/asterisk/tcptls.h
+++ b/include/asterisk/tcptls.h
@@ -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"
--
To view, visit https://gerrit.asterisk.org/9195
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I5a7d4565990c985822d61ce75bde0b45f9870540
Gerrit-Change-Number: 9195
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180620/dcecc4da/attachment.html>
More information about the asterisk-code-review
mailing list