diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-10-16 08:43:38 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-10-16 08:43:38 +0200 |
commit | e900d62c839e206214d1eac01e9a78fbcf7b33bf (patch) | |
tree | ca73644beceb9aea32e507606af1493b8ce93a02 /src | |
parent | 8c4463309584836a77cf35d5acf7a94b37b1acd9 (diff) | |
download | gnutls-e900d62c839e206214d1eac01e9a78fbcf7b33bf.tar.gz |
Make sure we use libgcrypt correctly.
Diffstat (limited to 'src')
-rw-r--r-- | src/cli.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -569,6 +569,9 @@ main (int argc, char **argv) gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); #ifdef gcry_fips_mode_active + /* Libgcrypt manual says that gcry_version_check must be called + before calling gcry_fips_mode_active. */ + gcry_check_version (NULL); if (gcry_fips_mode_active ()) { ret = gnutls_register_md5_handler (); |