[asterisk-commits] tcptls.c: Don't use OpenSSL functions when no SSL support is... (asterisk[master])
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Jun  2 12:04:17 CDT 2015
    
    
  
Matt Jordan has submitted this change and it was merged.
Change subject: tcptls.c: Don't use OpenSSL functions when no SSL support is present.
......................................................................
tcptls.c: Don't use OpenSSL functions when no SSL support is present.
Change-Id: I68a85a7fcbdb282140ff333c6274b6763d5f82a3
---
M main/tcptls.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Matt Jordan: Looks good to me, approved; Verified
diff --git a/main/tcptls.c b/main/tcptls.c
index 338b8bb..7ead094 100644
--- a/main/tcptls.c
+++ b/main/tcptls.c
@@ -791,6 +791,7 @@
 	return NULL;
 }
 
+#ifdef DO_SSL
 static void __ssl_setup_certs(struct ast_tls_config *cfg, const size_t cert_file_len, const char *key_type_extension, const char *key_type)
 {
 	char *cert_file = ast_strdupa(cfg->certfile);
@@ -806,6 +807,7 @@
 		}
 	}
 }
+#endif
 
 static int __ssl_setup(struct ast_tls_config *cfg, int client)
 {
-- 
To view, visit https://gerrit.asterisk.org/563
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I68a85a7fcbdb282140ff333c6274b6763d5f82a3
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joerg Sonnenberger <joerg at bec.de>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
    
    
More information about the asterisk-commits
mailing list