diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-09-26 19:24:24 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-10-12 21:04:18 +0300 |
commit | 7ac092d05de487d088bc96ab4a7bd6207fbfa98c (patch) | |
tree | 3673901cbefbf1c2f320ae5639ae6a6f354a8f73 /libavutil/random_seed.c | |
parent | 93797681c2310faeeb0158f66f471965213904c6 (diff) |
build: CryptGenRandom --> wincrypt, it is a better name
Diffstat (limited to 'libavutil/random_seed.c')
-rw-r--r-- | libavutil/random_seed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index 5bbdf38ec2..089d883916 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -23,7 +23,7 @@ #if HAVE_UNISTD_H #include <unistd.h> #endif -#if HAVE_CRYPTGENRANDOM +#if HAVE_WINCRYPT #include <windows.h> #include <wincrypt.h> #endif @@ -96,7 +96,7 @@ uint32_t av_get_random_seed(void) { uint32_t seed; -#if HAVE_CRYPTGENRANDOM +#if HAVE_WINCRYPT HCRYPTPROV provider; if (CryptAcquireContext(&provider, NULL, NULL, PROV_RSA_FULL, CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) { |