blob: 7d55822e562a5aeb2c1821fb939ec320b3550b0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "defines.h"
#ifndef USE_GCRYPT
# define GNUTLS_WEAK_RANDOM 0
# define GNUTLS_STRONG_RANDOM 1
#else
# define GNUTLS_WEAK_RANDOM GCRY_WEAK_RANDOM
# define GNUTLS_STRONG_RANDOM GCRY_STRONG_RANDOM
#endif
int _gnutls_get_random(opaque* res, int bytes, int);
|