changeset 959:8881967d087c

Silence gcrypt warnings in more places.
author Thomas Klausner <tk@giga.or.at>
date Thu, 28 Feb 2013 11:08:44 +0100
parents b415d1384e0d
children f39fa6cd86e0
files extensions/app_diameap/diameap_tls.h extensions/app_diameap/libcrypt.h extensions/app_diameap/plugins/eap_md5/eap_md5.c extensions/app_sip/app_sip.h extensions/test_sip/test_sip.h tests/tests.h
diffstat 6 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/app_diameap/diameap_tls.h	Thu Feb 28 11:06:31 2013 +0100
+++ b/extensions/app_diameap/diameap_tls.h	Thu Feb 28 11:08:44 2013 +0100
@@ -41,7 +41,9 @@
 
 #include "diameap_defs.h"
 #include <gnutls/gnutls.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 #include <errno.h>
 #include <pthread.h>
 
--- a/extensions/app_diameap/libcrypt.h	Thu Feb 28 11:06:31 2013 +0100
+++ b/extensions/app_diameap/libcrypt.h	Thu Feb 28 11:08:44 2013 +0100
@@ -39,7 +39,9 @@
 #ifndef LIBCRYPT_H_
 #define LIBCRYPT_H_
 
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 #include <stdio.h>
 
 /* EAP-TLS*/
--- a/extensions/app_diameap/plugins/eap_md5/eap_md5.c	Thu Feb 28 11:06:31 2013 +0100
+++ b/extensions/app_diameap/plugins/eap_md5/eap_md5.c	Thu Feb 28 11:08:44 2013 +0100
@@ -37,7 +37,9 @@
 
 
 #include "../../plugins.h"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 
 #define CHALLENGE_LEN	16
 
--- a/extensions/app_sip/app_sip.h	Thu Feb 28 11:06:31 2013 +0100
+++ b/extensions/app_sip/app_sip.h	Thu Feb 28 11:08:44 2013 +0100
@@ -38,7 +38,9 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdio.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 #include <string.h>
 #include <mysql.h>
 #include "md5.h"
--- a/extensions/test_sip/test_sip.h	Thu Feb 28 11:06:31 2013 +0100
+++ b/extensions/test_sip/test_sip.h	Thu Feb 28 11:08:44 2013 +0100
@@ -38,7 +38,9 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <stdio.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 #include <string.h>
 #include <mysql.h>
 
--- a/tests/tests.h	Thu Feb 28 11:06:31 2013 +0100
+++ b/tests/tests.h	Thu Feb 28 11:08:44 2013 +0100
@@ -46,7 +46,9 @@
 
 #include <pthread.h>
 #include <errno.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #include <gcrypt.h>
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
 
 /* Test timeout duration, unless -n is passed on the command line */
 #ifndef TEST_TIMEOUT
"Welcome to our mercurial repository"