New from upstream
Add patch for openssl1
This commit is contained in:
parent
ab2263cf6b
commit
f537987c1a
4 changed files with 30 additions and 3 deletions
18
activemq-cpp-openssl1.patch
Normal file
18
activemq-cpp-openssl1.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
--- activemq-cpp-library-3.8.4-clean/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp 2017-10-24 09:21:39.284236953 +0100
|
||||
+++ activemq-cpp-library-3.8.4-clean/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocket.cpp 2017-10-24 09:24:46.925846965 +0100
|
||||
@@ -664,11 +664,12 @@
|
||||
break;
|
||||
}
|
||||
|
||||
- const unsigned char* data = extension->value->data;
|
||||
+ const unsigned char* data = ASN1_STRING_data(X509_EXTENSION_get_data(extension));
|
||||
+ const size_t length = ASN1_STRING_length(X509_EXTENSION_get_data(extension));
|
||||
STACK_OF(CONF_VALUE)* confValue = method->i2v(method,
|
||||
method->it ?
|
||||
- ASN1_item_d2i(NULL, &data, extension->value->length, ASN1_ITEM_ptr(method->it)) :
|
||||
- method->d2i(NULL, &data, extension->value->length), NULL);
|
||||
+ ASN1_item_d2i(NULL, &data, length, ASN1_ITEM_ptr(method->it)) :
|
||||
+ method->d2i(NULL, &data, length), NULL);
|
||||
|
||||
CONF_VALUE* value = NULL;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue