os: Add libnettle as a choice of SHA1 implementation

libnettle is smaller than libgcrypt, currently being released more
frequently, and has replaced the latter in gnutls-3.x (which is used
by TigerVNC, so they can avoid pulling in two crypto libraries
simultaneously).

Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
Yaakov Selkowitz
2012-10-29 22:37:37 -05:00
parent 2ff56033de
commit 54ba26cb1f
3 changed files with 46 additions and 1 deletions

View File

@@ -157,6 +157,9 @@
/* Define to use libgcrypt SHA1 functions */
#undef HAVE_SHA1_IN_LIBGCRYPT
/* Define to use libnettle SHA1 functions */
#undef HAVE_SHA1_IN_LIBNETTLE
/* Define to use libsha1 for SHA1 */
#undef HAVE_SHA1_IN_LIBSHA1