From d15295e5d3ec107622164c39e6c2afdb70c400c1 Mon Sep 17 00:00:00 2001 From: Ivan Zhakov Date: Tue, 21 May 2019 05:52:59 +0000 Subject: 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 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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}) -- cgit v1.2.1