apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60179] Cannot compile with OpenSSL 1.1.0
Date Tue, 27 Sep 2016 11:48:51 GMT

Anastas Giokov <agiokov@gmail.com> changed:

           What    |Removed                     |Added
  Attachment #34304|0                           |1
        is obsolete|                            |

--- Comment #4 from Anastas Giokov <agiokov@gmail.com> ---
Created attachment 34305
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34305&action=edit
Patch to fix the code for OpenSSL 1.1.0

Besides replacing BN_init with BN_new in the configure files, this patch
changes the following in the file apr_crypto_openssl.c:

- changes the cipherCtx to a pointer in the apr_crypto_block_t struct type;
- changes all uses of cipherCtx in the code accordingly;
- replaces (conditionally) EVP_CIPHER_CTX_cleanup with EVP_CIPHER_CTX_reset for

With these changes, apr-utils compile with openssl 1.1.0, but I am not sure if
it really works. Somebody should test and verify it.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message