diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-05-21 05:52:59 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-05-21 05:52:59 +0000 |
commit | d15295e5d3ec107622164c39e6c2afdb70c400c1 (patch) | |
tree | 5edc0eb698b3fe9502c7bce5d02bef53aeb41070 /CMakeLists.txt | |
parent | 880e3feebcc0774199fa635f1c2f7b25f99cb81f (diff) | |
download | apr-d15295e5d3ec107622164c39e6c2afdb70c400c1.tar.gz |
apr_generate_random_bytes: Use BCryptGenRandom() instead of CryptGenRandom()
on Windows. BCryptGenRandom() is significantly faster since it doesn't require
to load crypto provider on every invocation.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859608 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 37e3c4359..ef29a7618 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -144,6 +144,7 @@ SET(APR_SYSTEM_LIBS ws2_32 mswsock rpcrt4 + bcrypt ) INCLUDE_DIRECTORIES(${APR_INCLUDE_DIRECTORIES} ${XMLLIB_INCLUDE_DIR}) |