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 10:24:27 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60179

--- Comment #3 from Anastas Giokov <agiokov@gmail.com> ---
The patch I have added allows the compilation to proceed, but it fails at file
apr_crypto_openssl.c:

crypto/apr_crypto_openssl.c:67: error: field 'cipherCtx' has incomplete type

The line 67 is the following:

    EVP_CIPHER_CTX cipherCtx;

>From the OpenSSL changelog:
...
Changes between 1.0.2h and 1.1.0  [25 Aug 2016]
...
  *) Made EVP_MD_CTX, EVP_MD, EVP_CIPHER_CTX, EVP_CIPHER and HMAC_CTX
     opaque.  For HMAC_CTX, the following constructors and destructors
     were added:

        HMAC_CTX *HMAC_CTX_new(void);
        void HMAC_CTX_free(HMAC_CTX *ctx);

     For EVP_MD and EVP_CIPHER, complete APIs to create, fill and
     destroy such methods has been added.  See EVP_MD_meth_new(3) and
     EVP_CIPHER_meth_new(3) for documentation.

     Additional changes:
     1) EVP_MD_CTX_cleanup(), EVP_CIPHER_CTX_cleanup() and
        HMAC_CTX_cleanup() were removed.  HMAC_CTX_reset() and
        EVP_MD_CTX_reset() should be called instead to reinitialise
        an already created structure.
     2) For consistency with the majority of our object creators and
        destructors, EVP_MD_CTX_(create|destroy) were renamed to
        EVP_MD_CTX_(new|free).  The old names are retained as macros
        for deprecated builds.
     [Richard Levitte]

Could this be an OpenSSL bug?

-- 
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


Mime
View raw message