Fix byte order warning

This commit fixes a byte order warning for both sha1.c and md5.c like so:

sha1.c:127:6: warning: #warning Undetermined or unsupported Byte Order... We will try LITTLE_ENDIAN [-Wcpp]

Also removed a couple of header includes that appear not be needed.
This commit is contained in:
Michael Rash
2013-03-03 14:29:08 -05:00
parent b86e48dd66
commit 1dc47f80d8
5 changed files with 2 additions and 3 deletions
-1
View File
@@ -28,7 +28,6 @@
*
*****************************************************************************
*/
#include "fko.h"
#include "fwknop.h"
#include "config_init.h"
#include "spa_comm.h"
-1
View File
@@ -32,7 +32,6 @@
#define FWKNOP_COMMON_H
#include "common.h"
#include "fko_limits.h"
/* My Name and Version
*/
-1
View File
@@ -31,7 +31,6 @@
#ifndef CIPHER_FUNCS_H
#define CIPHER_FUNCS_H 1
#include "fko.h"
#include "rijndael.h"
#include "gpgme_funcs.h"
+1
View File
@@ -28,6 +28,7 @@
*****************************************************************************
*/
#include "md5.h"
#include "fko_common.h"
#if BYTEORDER == 1234
#define byteReverse(buf, len) /* Nothing */
+1
View File
@@ -17,6 +17,7 @@
*****************************************************************************
*/
#include "sha1.h"
#include "fko_common.h"
/* SHA f()-functions */
#define f1(x,y,z) ((x & y) | (~x & z))