Rm _CRT_SECURE_NO_DEPRECATE for programs
(Already in config.h.)
diff --git a/programs/hash/generic_sum.c b/programs/hash/generic_sum.c
index 10692a9..8ca4d92 100644
--- a/programs/hash/generic_sum.c
+++ b/programs/hash/generic_sum.c
@@ -23,15 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef _CRT_SECURE_NO_DEPRECATE
-#define _CRT_SECURE_NO_DEPRECATE 1
-#endif
+#include "polarssl/config.h"
#include <string.h>
#include <stdio.h>
-#include "polarssl/config.h"
-
#include "polarssl/md.h"
#if !defined(POLARSSL_MD_C)
diff --git a/programs/hash/hello.c b/programs/hash/hello.c
index d4c362f..21c1387 100644
--- a/programs/hash/hello.c
+++ b/programs/hash/hello.c
@@ -23,14 +23,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef _CRT_SECURE_NO_DEPRECATE
-#define _CRT_SECURE_NO_DEPRECATE 1
-#endif
+#include "polarssl/config.h"
#include <stdio.h>
-#include "polarssl/config.h"
-
#include "polarssl/md5.h"
#if !defined(POLARSSL_MD5_C)
diff --git a/programs/hash/md5sum.c b/programs/hash/md5sum.c
index 1ca7e87..6ddc673 100644
--- a/programs/hash/md5sum.c
+++ b/programs/hash/md5sum.c
@@ -23,15 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef _CRT_SECURE_NO_DEPRECATE
-#define _CRT_SECURE_NO_DEPRECATE 1
-#endif
+#include "polarssl/config.h"
#include <string.h>
#include <stdio.h>
-#include "polarssl/config.h"
-
#include "polarssl/md5.h"
#if !defined(POLARSSL_MD5_C) || !defined(POLARSSL_FS_IO)
diff --git a/programs/hash/sha1sum.c b/programs/hash/sha1sum.c
index 92f8406..adde916 100644
--- a/programs/hash/sha1sum.c
+++ b/programs/hash/sha1sum.c
@@ -23,15 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef _CRT_SECURE_NO_DEPRECATE
-#define _CRT_SECURE_NO_DEPRECATE 1
-#endif
+#include "polarssl/config.h"
#include <string.h>
#include <stdio.h>
-#include "polarssl/config.h"
-
#include "polarssl/sha1.h"
#if !defined(POLARSSL_SHA1_C) || !defined(POLARSSL_FS_IO)
diff --git a/programs/hash/sha2sum.c b/programs/hash/sha2sum.c
index 446d60b..2f3acf8 100644
--- a/programs/hash/sha2sum.c
+++ b/programs/hash/sha2sum.c
@@ -23,15 +23,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef _CRT_SECURE_NO_DEPRECATE
-#define _CRT_SECURE_NO_DEPRECATE 1
-#endif
+#include "polarssl/config.h"
#include <string.h>
#include <stdio.h>
-#include "polarssl/config.h"
-
#include "polarssl/sha256.h"
#if !defined(POLARSSL_SHA256_C) || !defined(POLARSSL_FS_IO)