svn commit: r1924727 - in /apr/apr/trunk: CMakeLists.txt include/apr.hwc
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ivan
Date: Tue Apr 1 13:27:04 2025
New Revision: 1924727
URL: http://svn.apache.org/viewvc?rev=1924727&view=rev
Log:
CMakeLists.txt: Define APU_HAVE_CRYPTO_PRNG when APU_HAVE_CRYPTO is enabled
and we are going to use OpenSSL crypto backend.
Modified:
apr/apr/trunk/CMakeLists.txt
apr/apr/trunk/include/apr.hwc
Modified: apr/apr/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/apr/apr/trunk/CMakeLists.txt?rev=1924727&r1=1924726&r2=1924727&view=diff
==============================================================================
--- apr/apr/trunk/CMakeLists.txt (original)
+++ apr/apr/trunk/CMakeLists.txt Tue Apr 1 13:27:04 2025
@@ -85,6 +85,7 @@ endif()
if(APU_HAVE_CRYPTO)
find_package(OpenSSL REQUIRED)
set(APU_HAVE_OPENSSL ON)
+ set(APU_HAVE_CRYPTO_PRNG ON)
endif()
if(APR_XML_BACKEND STREQUAL "expat")
Modified: apr/apr/trunk/include/apr.hwc
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr.hwc?rev=1924727&r1=1924726&r2=1924727&view=diff
==============================================================================
--- apr/apr/trunk/include/apr.hwc (original)
+++ apr/apr/trunk/include/apr.hwc Tue Apr 1 13:27:04 2025
@@ -658,7 +658,7 @@ typedef int apr_wait_t;
#cmakedefine01 APU_HAVE_ODBC
#cmakedefine01 APU_HAVE_CRYPTO
-#define APU_HAVE_CRYPTO_PRNG 0
+#cmakedefine01 APU_HAVE_CRYPTO_PRNG
#define APU_HAVE_NSS 0
#define APU_HAVE_COMMONCRYPTO 0
#cmakedefine01 APU_HAVE_OPENSSL