aboutsummaryrefslogtreecommitdiff
path: root/crypto/md5
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-17 11:21:52 +0000
committerBodo Möller <bodo@openssl.org>1999-05-17 11:21:52 +0000
commitdb2b98359b41f92a4d32076ee9b163213cb71e7e (patch)
tree215a64d67d6007b6ad72fdb09a51d29097bef65d /crypto/md5
parent673eadec2c9032e938040d5eba241baed30d2c10 (diff)
downloadopenssl-db2b98359b41f92a4d32076ee9b163213cb71e7e.zip
openssl-db2b98359b41f92a4d32076ee9b163213cb71e7e.tar.gz
openssl-db2b98359b41f92a4d32076ee9b163213cb71e7e.tar.bz2
Make MD5 work on Alpha, and fix a bug.
Submitted by: Andy Polyakov
Diffstat (limited to 'crypto/md5')
-rw-r--r--crypto/md5/md5_locl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/md5/md5_locl.h b/crypto/md5/md5_locl.h
index 510e573..bafd305 100644
--- a/crypto/md5/md5_locl.h
+++ b/crypto/md5/md5_locl.h
@@ -112,7 +112,7 @@ void md5_block_data_order (MD5_CTX *c, const void *p,int num);
#define HASH_TRANSFORM MD5_Transform
#define HASH_FINAL MD5_Final
#define HASH_BLOCK_HOST_ORDER md5_block_host_order
-#if defined(B_ENDIAN) || defined(md5_block_data_order)
+#if !defined(L_ENDIAN) || defined(md5_block_data_order)
#define HASH_BLOCK_DATA_ORDER md5_block_data_order
/*
* Little-endians (Intel and Alpha) feel better without this.