You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2018/06/27 23:31:28 UTC
svn commit: r1834561 - /apr/apr-util/branches/1.7.x/test/testcrypto.c
Author: ylavic
Date: Wed Jun 27 23:31:28 2018
New Revision: 1834561
URL: http://svn.apache.org/viewvc?rev=1834561&view=rev
Log:
Follow up to r1834555: testcrypto with new apr_crypto_prng_after_fork() API.
Not backported from trunk because the explicit apr_crypto_prng_after_fork()
call is 1.7.x specific due to separated APR/APU.
Modified:
apr/apr-util/branches/1.7.x/test/testcrypto.c
Modified: apr/apr-util/branches/1.7.x/test/testcrypto.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/test/testcrypto.c?rev=1834561&r1=1834560&r2=1834561&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/test/testcrypto.c (original)
+++ apr/apr-util/branches/1.7.x/test/testcrypto.c Wed Jun 27 23:31:28 2018
@@ -1599,7 +1599,7 @@ static void test_crypto_fork_random(abts
if (rv == APR_INCHILD) {
apr_file_close(pread);
#if !APR_VERSION_AT_LEAST(2,0,0)
- rv = apr_crypto_prng_after_fork(&proc);
+ rv = apr_crypto_prng_after_fork(NULL, 1);
if (rv == APR_SUCCESS)
#endif
{