diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 461843b05..bb975cd35 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -38,7 +38,6 @@ set(src_crypto md2.c md4.c md5.c - md_wrap.c memory_buffer_alloc.c nist_kw.c oid.c diff --git a/library/Makefile b/library/Makefile index 50faed9ca..062846b7b 100644 --- a/library/Makefile +++ b/library/Makefile @@ -77,7 +77,7 @@ OBJS_CRYPTO= aes.o aesni.o arc4.o \ error.o gcm.o havege.o \ hkdf.o \ hmac_drbg.o md.o md2.o \ - md4.o md5.o md_wrap.o \ + md4.o md5.o \ memory_buffer_alloc.o nist_kw.o \ oid.o padlock.o pem.o \ pk.o pk_wrap.o pkcs12.o \ diff --git a/library/md.c b/library/md.c index 3bb4bafa7..e1d7e9d01 100644 --- a/library/md.c +++ b/library/md.c @@ -49,6 +49,8 @@ #include #endif +#include "md_wrap.c" + /* * Reminder: update profiles in x509_crt.c when adding a new hash! */