Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A2DFC200CCB for ; Thu, 20 Jul 2017 20:52:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A117516BDF5; Thu, 20 Jul 2017 18:52:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7B5316BDF3 for ; Thu, 20 Jul 2017 20:52:48 +0200 (CEST) Received: (qmail 59705 invoked by uid 500); 20 Jul 2017 18:52:42 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Delivered-To: moderator for users@activemq.apache.org Received: (qmail 51032 invoked by uid 99); 20 Jul 2017 18:48:18 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.737 X-Spam-Level: *** X-Spam-Status: No, score=3.737 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Date: Thu, 20 Jul 2017 11:28:24 -0700 (PDT) From: baklan120 To: users@activemq.apache.org Message-ID: <1500575304343-4728754.post@n4.nabble.com> In-Reply-To: <1496402328373-4726931.post@n4.nabble.com> References: <1490272205963-4724037.post@n4.nabble.com> <1496402328373-4726931.post@n4.nabble.com> Subject: Re: activemq-cpp-3.9.4 fails to build fedora rawhide - openssl-1.1.0e related. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Thu, 20 Jul 2017 18:52:49 -0000 You should replace extension->value->data with the ASN1_STRING_data(X509_EXTENSION_get_data(extension)) and extension->value->length (twice) with the ASN1_STRING_length(X509_EXTENSION_get_data(extension))). traylenator wrote > =EF=BF=BC=EF=BF=BC=EF=BF=BC=EF=BF=BC=EF=BF=BC > decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:667:50: error: invalid > use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}'=20 > const unsigned char* data =3D extension->value->data;=20 > ^~=20 > In file included from /usr/include/openssl/ssl.h:50:0,=20 > from decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:21= :=20 > /usr/include/openssl/x509.h:79:16: note: forward declaration of > 'X509_EXTENSION {aka struct X509_extension_st}'=20 > typedef struct X509_extension_st X509_EXTENSION;=20 > ^~~~~~~~~~~~~~~~~=20 > decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:667:52: error: invalid > use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}'=20 > const unsigned char* data =3D extension->value->data;=20 > ^~~~~=20 > In file included from /usr/include/openssl/ssl.h:50:0,=20 > from decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:21= :=20 > /usr/include/openssl/x509.h:79:16: note: forward declaration of > 'X509_EXTENSION {aka struct X509_extension_st}'=20 > typedef struct X509_extension_st X509_EXTENSION;=20 > ^~~~~~~~~~~~~~~~~=20 > decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:670:65: error: invalid > use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}'=20 > ASN1_item_d2i(NULL, &data, > extension->value->length, ASN1_ITEM_ptr(method->it)) :=20 -- View this message in context: http://activemq.2283324.n4.nabble.com/activem= q-cpp-3-9-4-fails-to-build-fedora-rawhide-openssl-1-1-0e-related-tp4724037p= 4728754.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.