diff include/freeDiameter/libfdcore.h @ 1155:d00b5914351e

Allow running freeDiameter without TLS credentials if the following conditions are verified: - The Secure Diameter port is disabled (SecPort = 0;) - The old TLS mechanism is not used (TLS_old_method; not defined) Note that in this context only connections to peers explicitely authorized for 'No_TLS' are permitted.
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 28 May 2013 12:11:27 +0800
parents 140450615773
children 05f74dc19c49
line wrap: on
line diff
--- a/include/freeDiameter/libfdcore.h	Mon May 27 17:22:40 2013 +0800
+++ b/include/freeDiameter/libfdcore.h	Tue May 28 12:11:27 2013 +0800
@@ -150,6 +150,8 @@
 	} 		 cnf_flags;
 	
 	struct {
+		int				 tls_disabled;
+		
 		/* Credentials parameters (backup) */
 		char *  			 cert_file;
 		char *				 key_file;
"Welcome to our mercurial repository"