From cb52017ad9024e4d72766a19f286addcdafc2374 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 14 Jun 2007 23:21:32 +1000 Subject: - (dtucker) [cipher-ctr.c umac.c openbsd-compat/openssl-compat.h] Move the USE_BUILTIN_RIJNDAEL compat goop to openssl-compat.h so it can be shared with umac.c. Allows building with OpenSSL 0.9.5 again including umac support. With tim@ djm@, ok djm. --- umac.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'umac.c') diff --git a/umac.c b/umac.c index 29c202a2..c2fdcf44 100644 --- a/umac.c +++ b/umac.c @@ -165,7 +165,10 @@ static void STORE_UINT32_REVERSED(void *ptr, UINT32 x) #define AES_BLOCK_LEN 16 /* OpenSSL's AES */ -#include +#include "openbsd-compat/openssl-compat.h" +#ifndef USE_BUILTIN_RIJNDAEL +# include +#endif typedef AES_KEY aes_int_key[1]; #define aes_encryption(in,out,int_key) \ AES_encrypt((u_char *)(in),(u_char *)(out),(AES_KEY *)int_key) -- cgit v1.2.1