aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-17 10:45:23 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-17 10:45:23 +0000
commit7e065c18499688141eb68513058131a49344cac1 (patch)
treee441b44c8f0db8a4f214775e4945039cc820cf2f /src/include/gnunet_crypto_lib.h
parentb3ad920b6e0107c3da946fe1f2f720955dbac151 (diff)
downloadgnunet-7e065c18499688141eb68513058131a49344cac1.tar.gz
gnunet-7e065c18499688141eb68513058131a49344cac1.zip
fixing #1551/#2503
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index b73d26d1e..710ef3179 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1085,6 +1085,17 @@ void
1085GNUNET_CRYPTO_random_disable_entropy_gathering (void); 1085GNUNET_CRYPTO_random_disable_entropy_gathering (void);
1086 1086
1087 1087
1088/**
1089 * Check if we are using weak random number generation.
1090 *
1091 * @return GNUNET_YES if weak number generation is on
1092 * (thus will return YES if 'GNUNET_CRYPTO_random_disable_entropy_gathering'
1093 * was called previously).
1094 */
1095int
1096GNUNET_CRYPTO_random_is_weak (void);
1097
1098
1088#if 0 /* keep Emacsens' auto-indent happy */ 1099#if 0 /* keep Emacsens' auto-indent happy */
1089{ 1100{
1090#endif 1101#endif