activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From baklan120 <baklan...@gmail.com>
Subject Re: activemq-cpp-3.9.4 fails to build fedora rawhide - openssl-1.1.0e related.
Date Thu, 20 Jul 2017 18:28:24 GMT
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
> 
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:667:50: error: invalid
> use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' 
>              const unsigned char* data = extension->value->data; 
>                                                   ^~ 
> In file included from /usr/include/openssl/ssl.h:50:0, 
>                  from decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:21: 
> /usr/include/openssl/x509.h:79:16: note: forward declaration of
> 'X509_EXTENSION {aka struct X509_extension_st}' 
>  typedef struct X509_extension_st X509_EXTENSION; 
>                 ^~~~~~~~~~~~~~~~~ 
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:667:52: error: invalid
> use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' 
>              const unsigned char* data = extension->value->data; 
>                                                     ^~~~~ 
> In file included from /usr/include/openssl/ssl.h:50:0, 
>                  from decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:21: 
> /usr/include/openssl/x509.h:79:16: note: forward declaration of
> 'X509_EXTENSION {aka struct X509_extension_st}' 
>  typedef struct X509_extension_st X509_EXTENSION; 
>                 ^~~~~~~~~~~~~~~~~ 
> decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp:670:65: error: invalid
> use of incomplete type 'X509_EXTENSION {aka struct X509_extension_st}' 
>                              ASN1_item_d2i(NULL, &data,
> extension->value->length, ASN1_ITEM_ptr(method->it)) : 





--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-cpp-3-9-4-fails-to-build-fedora-rawhide-openssl-1-1-0e-related-tp4724037p4728754.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message