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:
@@ -28,7 +28,6 @@
|
||||
*
|
||||
*****************************************************************************
|
||||
*/
|
||||
#include "fko.h"
|
||||
#include "fwknop.h"
|
||||
#include "config_init.h"
|
||||
#include "spa_comm.h"
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#define FWKNOP_COMMON_H
|
||||
|
||||
#include "common.h"
|
||||
#include "fko_limits.h"
|
||||
|
||||
/* My Name and Version
|
||||
*/
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#ifndef CIPHER_FUNCS_H
|
||||
#define CIPHER_FUNCS_H 1
|
||||
|
||||
#include "fko.h"
|
||||
#include "rijndael.h"
|
||||
#include "gpgme_funcs.h"
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
*****************************************************************************
|
||||
*/
|
||||
#include "md5.h"
|
||||
#include "fko_common.h"
|
||||
|
||||
#if BYTEORDER == 1234
|
||||
#define byteReverse(buf, len) /* Nothing */
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
*****************************************************************************
|
||||
*/
|
||||
#include "sha1.h"
|
||||
#include "fko_common.h"
|
||||
|
||||
/* SHA f()-functions */
|
||||
#define f1(x,y,z) ((x & y) | (~x & z))
|
||||
|
||||
Reference in New Issue
Block a user