[openssl-dev] [openssl.org #4243] 1.1.0-pre2: bug: EVP_CIPHER_CTX isn't completely opaque

balducci@units.it via RT rt at openssl.org
Fri Jan 15 15:32:16 UTC 2016


hello,

apologies if I am missing something here.

There seems to be an inconsistency in 1.1.0-pre2 (didn't check -pre1).

EVP_CIPHER_CTX is typedef'd in ossl_typ.h like this:

    typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;

but struct evp_cipher_ctx_st isn't exposed any longer (it used to be
in evp.h in 1.0, but has been moved into evp_locl.h in 1.1)

This seems to be the reason why trying to build openssh-7.1p2 (with
-DOPENSSL_API_COMPAT=0x10000000L) fails with:

    In file included from ssh_api.h:26:0,
                     from ssh_api.c:21:
    cipher.h:69:17: error: field 'evp' has incomplete type
      EVP_CIPHER_CTX evp;

Running on linux:
Linux  4.4.0 #1 SMP Mon Jan 11 11:49:05 CET 2016 x86_64 GNU/Linux


ciao
gabriele

_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-mod at openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod



More information about the openssl-dev mailing list