+#include "crypt_ver.h"
+
+#ifdef SHA_POLARSSL /* remainder of file */
+
/*
* FIPS-180-2 compliant SHA-256 implementation
*
* http://csrc.nist.gov/publications/fips/fips180-2/fips180-2.pdf
*/
-#include "sha2.h"
+#include "polarssl/config.h"
+
+#if defined(POLARSSL_SHA2_C)
+
+#include "polarssl/sha2.h"
#include <string.h>
#include <stdio.h>
memset( &ctx, 0, sizeof( sha2_context ) );
}
+
+
+#endif
+#endif