summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2018-06-12 20:11:09 +0000
committerYann Ylavic <ylavic@apache.org>2018-06-12 20:11:09 +0000
commit9aefe5db8512187e194223cd411c1b63bcf0b7a8 (patch)
treedeb423ee592da99470ce93bedf8892ab29ae785e /build.conf
parentaf39a670ca00949536be1b3d615d2ec0392d63f3 (diff)
downloadapr-9aefe5db8512187e194223cd411c1b63bcf0b7a8.tar.gz
apr_crypto: follow up to r1833359.
Link underlying crypto libraries (openssl, nss, and commoncrypto) with libapr when the corresponding --with is configured. This allows to initialize, terminate or check whether initialized respectively with apr_crypto_lib_init(), apr_crypto_lib_term() or apr_crypto_lib_is_initialized(). Users can now control the (un)initialization of those libraries, notably when they also use them independently and that doing this multiple times can cause leaks or unexpected behaviour. The initialization code is moved from "apr_crypto_{openssl,nss,commoncrypto}.c" where previously loaded dynamically (DSO) to "apr_crypto_internal.c" which is linked with libapr. Also apr_crypto_prng_init() can make sure the underlying crypto lib is ready. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1833421 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.conf')
-rw-r--r--build.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.conf b/build.conf
index 1dfc3b4ed..af1e99894 100644
--- a/build.conf
+++ b/build.conf
@@ -12,6 +12,7 @@ paths =
buckets/*.c
crypto/apr_crypto.c
crypto/apr_crypto_prng.c
+ crypto/apr_crypto_internal.c
crypto/apr_md4.c
crypto/apr_md5.c
crypto/apr_passwd.c