You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2020/04/20 06:20:00 UTC

[jira] [Commented] (HADOOP-14597) Native compilation broken with OpenSSL-1.1.0 because EVP_CIPHER_CTX has been made opaque

    [ https://issues.apache.org/jira/browse/HADOOP-14597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087403#comment-17087403 ] 

Masatake Iwasaki commented on HADOOP-14597:
-------------------------------------------

cherry-picked this to branch-2.10.

> Native compilation broken with OpenSSL-1.1.0 because EVP_CIPHER_CTX has been made opaque
> ----------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14597
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14597
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0-alpha4
>         Environment: openssl-1.1.0
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>            Priority: Major
>             Fix For: 3.0.0-beta1, 2.10.1
>
>         Attachments: HADOOP-14597.00.patch, HADOOP-14597.01.patch, HADOOP-14597.02.patch, HADOOP-14597.03.patch, HADOOP-14597.04.patch
>
>
> Trying to build Hadoop trunk on Fedora 26 which has openssl-devel-1.1.0 fails with this error
> {code}[WARNING] /home/raviprak/Code/hadoop/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/OpensslCipher.c: In function ‘check_update_max_output_len’:
> [WARNING] /home/raviprak/Code/hadoop/trunk/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/crypto/OpensslCipher.c:256:14: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
> [WARNING]    if (context->flags & EVP_CIPH_NO_PADDING) {
> [WARNING]               ^~
> {code}
> https://github.com/openssl/openssl/issues/962 mattcaswell says
> {quote}
> One of the primary differences between master (OpenSSL 1.1.0) and the 1.0.2 version is that many types have been made opaque, i.e. applications are no longer allowed to look inside the internals of the structures
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org