Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 600610 Details for
Bug 700348
net-misc/omniORB-4.1.4-r2 : ../.../sslContext.cc:364:5: error: invalid use of incomplete type DH {aka struct dh_st }
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to solve the problem
omniORB-4.1.4-openssl-1.1.patch (text/plain), 1000 bytes, created by
blashyrkh
on 2019-12-25 21:57:05 UTC
(
hide
)
Description:
Patch to solve the problem
Filename:
MIME Type:
Creator:
blashyrkh
Created:
2019-12-25 21:57:05 UTC
Size:
1000 bytes
patch
obsolete
>--- src/lib/omniORB/orbcore/ssl/sslContext.cc >+++ src/lib/omniORB/orbcore/ssl/sslContext.cc >@@ -109,6 +109,7 @@ > #include <ssl/sslTransportImpl.h> > #include <openssl/rand.h> > #include <openssl/err.h> >+#include <openssl/dh.h> > #include <omniORB4/linkHacks.h> > > OMNI_EXPORT_LINK_FORCE_SYMBOL(sslContext); >@@ -357,11 +362,23 @@ > 0x02 > }; > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), 0); > dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), 0); > if( !dh->p || !dh->g) { > OMNIORB_THROW(INITIALIZE,INITIALIZE_TransportError,CORBA::COMPLETED_NO); > } >+#else >+ BIGNUM *bn_p, *bn_g; >+ bn_p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL); >+ bn_g = BN_bin2bn(dh512_g, sizeof(dh512_g), NULL); >+ if( !bn_p || !bn_g || !DH_set0_pqg(dh, bn_p, NULL, bn_g)) { >+ DH_free(dh); >+ BN_free(bn_p); >+ BN_free(bn_g); >+ OMNIORB_THROW(INITIALIZE,INITIALIZE_TransportError,CORBA::COMPLETED_NO); >+ } >+#endif > > SSL_CTX_set_tmp_dh(pd_ctx, dh); > DH_free(dh);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 700348
:
596474
|
596476
|
596478
|
596480
|
596482
|
596484
| 600610