Bug 1388579

Summary: crypt: changes needed for openssl-1.1 (coming in Fedora 26)
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: encryption-xlatorAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.9CC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1384142
: 1388580 (view as bug list) Environment:
Last Closed: 2016-12-06 05:21:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1384142    
Bug Blocks: 1350744, 1388580    

Description Kaleb KEITHLEY 2016-10-25 17:30:18 UTC
+++ This bug was initially created as a clone of Bug #1384142 +++

Description of problem:

HMAC_CTX is now an opaque type, instances must be obtained by calling HMAC_CTX_new().

Version-Release number of selected component (if applicable):

All versions going back to at least 3.6 and earlier.


How reproducible:

try to compile on Fedora rawhide with openssl-1.1-0 and later.


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Worker Ant on 2016-10-12 12:34:38 EDT ---

REVIEW: http://review.gluster.org/15629 (crypt: changes needed for openssl-1.1 (coming in Fedora 26)) posted (#1) for review on master by Kaleb KEITHLEY (kkeithle)

--- Additional comment from Worker Ant on 2016-10-18 09:54:42 EDT ---

COMMIT: http://review.gluster.org/15629 committed in master by Jeff Darcy (jdarcy) 
------
commit f5f22d0a84e77162fd5e5afd8e912cef6d8ad320
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Wed Oct 12 12:25:11 2016 -0400

    crypt: changes needed for openssl-1.1 (coming in Fedora 26)
    
    Fedora is poised to update openssl-1.1.0b in/for Fedora 26
    in the next day or so.
    
    But already Fedora koji scratch builds are built against
    openssl-1.1.0b because of the way scratch builds work.
    N.B. that the latest Fedora rawhide (11 October) still ships
    with openssl-1.0.2j.
    
    HMAC_CTX is now an opaque type and instances of it must be
    created and released by calling HMAC_CTX_new() and
    HMAC_CTX_free().
    
    Change-Id: I3a09751d7b0d9fc25fe18aac6527e5431e9ab19a
    BUG: 1384142
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/15629
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>

Comment 1 Worker Ant 2016-10-25 17:49:50 UTC
REVIEW: http://review.gluster.org/15726 (crypt: changes needed for openssl-1.1 (coming in Fedora 26)) posted (#1) for review on release-3.9 by Kaleb KEITHLEY (kkeithle)

Comment 2 Worker Ant 2016-10-27 18:46:16 UTC
COMMIT: http://review.gluster.org/15726 committed in release-3.9 by Jeff Darcy (jdarcy) 
------
commit c6a8a4739f45a4f877c561f72dd936d8f5741ae8
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Tue Oct 25 13:34:54 2016 -0400

    crypt: changes needed for openssl-1.1 (coming in Fedora 26)
    
    Fedora has updated openssl-1.1.0b in/for Fedora 26
    
    HMAC_CTX is now an opaque type and instances of it must be
    created and released by calling HMAC_CTX_new() and
    HMAC_CTX_free().
    
    Change-Id: I3a09751d7b0d9fc25fe18aac6527e5431e9ab19a
    BUG: 1388579
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/15726
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>