From a23dbc65899ed9a57cc29981db770a00d9080aaa Mon Sep 17 00:00:00 2001 From: jsing Date: Tue, 26 Mar 2024 05:55:15 +0000 Subject: [PATCH] Stop including md32_common.h in md5.c and remove unused defines. This is now no longer needed. ok tb@ --- lib/libcrypto/md5/md5.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/lib/libcrypto/md5/md5.c b/lib/libcrypto/md5/md5.c index ab53bf548fd..6b1afb4444a 100644 --- a/lib/libcrypto/md5/md5.c +++ b/lib/libcrypto/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.20 2024/03/26 05:46:13 jsing Exp $ */ +/* $OpenBSD: md5.c,v 1.21 2024/03/26 05:55:15 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -75,22 +75,6 @@ void md5_block_asm_data_order(MD5_CTX *c, const void *p, size_t num); #define md5_block_data_order md5_block_asm_data_order #endif -#define DATA_ORDER_IS_LITTLE_ENDIAN - -#define HASH_LONG MD5_LONG -#define HASH_CTX MD5_CTX -#define HASH_CBLOCK MD5_CBLOCK -#define HASH_UPDATE MD5_Update -#define HASH_TRANSFORM MD5_Transform -#define HASH_FINAL MD5_Final -#define HASH_BLOCK_DATA_ORDER md5_block_data_order - -#define HASH_NO_UPDATE -#define HASH_NO_TRANSFORM -#define HASH_NO_FINAL - -#include "md32_common.h" - #ifndef MD5_ASM static inline uint32_t md5_F(uint32_t x, uint32_t y, uint32_t z) -- 2.20.1