Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 558920 Details for
Bug 674032
net-analyzer/flow-tools-0.68.5.1-r9 : ftxlate.c:2043:58: error: invalid application of sizeof to incomplete type EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st }
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
flow-tools-0.68.5.1-openssl11.patch
flow-tools-0.68.5.1-openssl11.patch (text/plain), 1.22 KB, created by
Robin Johnson
on 2018-12-30 00:53:03 UTC
(
hide
)
Description:
flow-tools-0.68.5.1-openssl11.patch
Filename:
MIME Type:
Creator:
Robin Johnson
Created:
2018-12-30 00:53:03 UTC
Size:
1.22 KB
patch
obsolete
>diff -Nuar --exclude '*~' flow-tools-0.68.5.1.orig/lib/ftxlate.c flow-tools-0.68.5.1/lib/ftxlate.c >--- flow-tools-0.68.5.1.orig/lib/ftxlate.c 2008-01-27 12:48:49.000000000 -0800 >+++ flow-tools-0.68.5.1/lib/ftxlate.c 2018-12-29 15:18:33.739062317 -0800 >@@ -34,6 +34,14 @@ > #include <openssl/ssl.h> > #include <openssl/evp.h> > #undef free_func >+ >+/* fixup LibreSSL OpenSSL version numbering */ >+#include <openssl/opensslv.h> >+#if (defined LIBRESSL_VERSION_NUMBER && OPENSSL_VERSION_NUMBER == 0x20000000L) >+#undef OPENSSL_VERSION_NUMBER >+#define OPENSSL_VERSION_NUMBER 0x1000107fL >+#endif >+ > #endif /* HAVE_OPENSSL */ > > #include <sys/time.h> >@@ -2040,11 +2048,13 @@ > > > /* init crypto */ >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > if (!(cp->cipher_ctx = (EVP_CIPHER_CTX*) malloc(sizeof(EVP_CIPHER_CTX)))) { > return -1; > } > > EVP_CIPHER_CTX_init(cp->cipher_ctx); >+#endif > > /* disable padding */ > if (!(EVP_CIPHER_CTX_set_padding(cp->cipher_ctx, 0))) { >@@ -2083,10 +2093,14 @@ > { > > #ifdef HAVE_OPENSSL >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > EVP_CIPHER_CTX_cleanup(cp->cipher_ctx); > > if (cp->cipher_ctx) > free (cp->cipher_ctx); >+#else >+ EVP_CIPHER_CTX_free(cp->cipher_ctx); >+#endif > #endif /* HAVE_OPENSSL */ > > return 0;
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 674032
:
558878
|
558880
|
558882
|
558884
|
558886
|
558888
|
558890
|
558912
|
558914
|
558916
|
558918
| 558920