"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/t-lock.c" between
libgcrypt-1.9.1.tar.bz2 and libgcrypt-1.9.2.tar.bz2

About: Libgcrypt is a general purpose library of cryptographic building blocks (originally based on GnuPG code).

t-lock.c  (libgcrypt-1.9.1.tar.bz2):t-lock.c  (libgcrypt-1.9.2.tar.bz2)
skipping to change at line 414 skipping to change at line 414
verbose = 1; verbose = 1;
argc--; argv++; argc--; argv++;
} }
else if (!strcmp (*argv, "--debug")) else if (!strcmp (*argv, "--debug"))
{ {
verbose = debug = 1; verbose = debug = 1;
argc--; argv++; argc--; argv++;
} }
} }
srand (time(NULL)*getpid()); srand ((unsigned int)time(NULL)*getpid());
if (debug) if (debug)
xgcry_control ((GCRYCTL_SET_DEBUG_FLAGS, 1u, 0)); xgcry_control ((GCRYCTL_SET_DEBUG_FLAGS, 1u, 0));
xgcry_control ((GCRYCTL_DISABLE_SECMEM, 0)); xgcry_control ((GCRYCTL_DISABLE_SECMEM, 0));
if (!gcry_check_version (GCRYPT_VERSION)) if (!gcry_check_version (GCRYPT_VERSION))
die ("version mismatch"); die ("version mismatch");
/* We are using non-public interfaces - check the exact version. */ /* We are using non-public interfaces - check the exact version. */
if (strcmp (gcry_check_version (NULL), GCRYPT_VERSION)) if (strcmp (gcry_check_version (NULL), GCRYPT_VERSION))
die ("exact version match failed"); die ("exact version match failed");
xgcry_control ((GCRYCTL_ENABLE_QUICK_RANDOM, 0)); xgcry_control ((GCRYCTL_ENABLE_QUICK_RANDOM, 0));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)