- Fixed typo in MD4 define
diff --git a/ChangeLog b/ChangeLog
index 4128c93..60c2999 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
* Tests requiring specific hashing algorithms now honor
the defines.
+Bug fixes
+ * Changed type in #ifdef in x509parse.c (found
+ by Eduardo)
+
= Version 0.12.0 released on 2009-07-28
Features
* Added CMake makefiles as alternative to regular Makefiles.
diff --git a/library/x509parse.c b/library/x509parse.c
index 727227b..97a1755 100644
--- a/library/x509parse.c
+++ b/library/x509parse.c
@@ -2157,7 +2157,7 @@
case SIG_RSA_SHA224 : sha2( in, len, out, 1 ); break;
case SIG_RSA_SHA256 : sha2( in, len, out, 0 ); break;
#endif
-#if defined(POLARSSL_SHA2_C)
+#if defined(POLARSSL_SHA4_C)
case SIG_RSA_SHA384 : sha4( in, len, out, 1 ); break;
case SIG_RSA_SHA512 : sha4( in, len, out, 0 ); break;
#endif