pike.git/
src/
post_modules/
Nettle/
hash.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:24:47 by Arne Goedeke <el@laramies.com>
c157acce9e84af5781ca5a8d95bb1e7ae652f2f2 (
5
lines) (+
5
/-
0
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
Crypto: compatibility with old nettle versions
nettle before 2.1 did not have sha224
627:
#cmod_undef PIKE_NAME #cmod_undef NETTLE_NAME
+
#ifdef HAVE_NETTLE_SHA224_INIT
+
#cmod_define PIKE_NAME SHA224 #cmod_define NETTLE_NAME sha224 #cmod_include "hash.H" #cmod_undef PIKE_NAME #cmod_undef NETTLE_NAME
-
+
#endif
+
#cmod_define PIKE_NAME SHA256 #cmod_define NETTLE_NAME sha256 #cmod_include "hash.H"