diff options
author | James Almer <jamrial@gmail.com> | 2017-11-11 16:53:19 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-11 16:53:19 -0300 |
commit | 3f272009547fe1b941764297007ea1aa576eda6f (patch) | |
tree | 6df330c1a8fa0e5549f8e7e8f0a6b314f2d86693 /libavutil | |
parent | 8882e8ad0d5c8b53cc1fce158cfdbe8284efd5bb (diff) | |
parent | 7ac092d05de487d088bc96ab4a7bd6207fbfa98c (diff) | |
download | ffmpeg-3f272009547fe1b941764297007ea1aa576eda6f.tar.gz |
Merge commit '7ac092d05de487d088bc96ab4a7bd6207fbfa98c'
* commit '7ac092d05de487d088bc96ab4a7bd6207fbfa98c':
build: CryptGenRandom --> wincrypt, it is a better name
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil')
-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 d1c9a3f704..881c23c8c8 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -26,7 +26,7 @@ #if HAVE_IO_H #include <io.h> #endif -#if HAVE_CRYPTGENRANDOM +#if HAVE_WINCRYPT #include <windows.h> #include <wincrypt.h> #endif @@ -121,7 +121,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)) { |