Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 520038 Details for
Bug 648016
app-crypt/efitools-1.7.0 with >=dev-libs/openssl-1.1.0 - cert-to-efi-hash-list.c:138:35: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
efitools-1.8.0-openssl-1.1.0-compat.patch
efitools-1.8.0-openssl-1.1.0-compat.patch (text/plain), 2.48 KB, created by
Quentin Minster
on 2018-02-18 16:05:07 UTC
(
hide
)
Description:
efitools-1.8.0-openssl-1.1.0-compat.patch
Filename:
MIME Type:
Creator:
Quentin Minster
Created:
2018-02-18 16:05:07 UTC
Size:
2.48 KB
patch
obsolete
>diff --git a/cert-to-efi-hash-list.c b/cert-to-efi-hash-list.c >index 8a5468a..cca2c48 100644 >--- a/cert-to-efi-hash-list.c >+++ b/cert-to-efi-hash-list.c >@@ -122,6 +122,7 @@ main(int argc, char *argv[]) > timestamp.Month, timestamp.Day, timestamp.Hour, timestamp.Minute, > timestamp.Second); > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > ERR_load_crypto_strings(); > OpenSSL_add_all_digests(); > OpenSSL_add_all_ciphers(); >@@ -130,6 +131,7 @@ main(int argc, char *argv[]) > * module isn't present). In either case ignore the errors > * (malloc will cause other failures out lower down */ > ERR_clear_error(); >+#endif > > BIO *cert_bio = BIO_new_file(certfile, "r"); > X509 *cert = PEM_read_bio_X509(cert_bio, NULL, NULL, NULL); >diff --git a/cert-to-efi-sig-list.c b/cert-to-efi-sig-list.c >index fe65e15..43e178d 100644 >--- a/cert-to-efi-sig-list.c >+++ b/cert-to-efi-sig-list.c >@@ -78,6 +78,7 @@ main(int argc, char *argv[]) > certfile = argv[1]; > efifile = argv[2]; > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > ERR_load_crypto_strings(); > OpenSSL_add_all_digests(); > OpenSSL_add_all_ciphers(); >@@ -86,6 +87,7 @@ main(int argc, char *argv[]) > * module isn't present). In either case ignore the errors > * (malloc will cause other failures out lower down */ > ERR_clear_error(); >+#endif > > BIO *cert_bio = BIO_new_file(certfile, "r"); > X509 *cert = PEM_read_bio_X509(cert_bio, NULL, NULL, NULL); >diff --git a/efi-updatevar.c b/efi-updatevar.c >index bc92cb8..72f395f 100644 >--- a/efi-updatevar.c >+++ b/efi-updatevar.c >@@ -146,9 +146,11 @@ main(int argc, char *argv[]) > } > > kernel_variable_init(); >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > ERR_load_crypto_strings(); > OpenSSL_add_all_digests(); > OpenSSL_add_all_ciphers(); >+#endif > > name = file ? file : hash_mode; > if (delsig != -1) { >diff --git a/sign-efi-sig-list.c b/sign-efi-sig-list.c >index e19ef97..81fa8e2 100644 >--- a/sign-efi-sig-list.c >+++ b/sign-efi-sig-list.c >@@ -248,6 +248,7 @@ main(int argc, char *argv[]) > exit(1); > } > >+#if OPENSSL_VERSION_NUMBER < 0x10100000L > ERR_load_crypto_strings(); > OpenSSL_add_all_digests(); > OpenSSL_add_all_ciphers(); >@@ -256,6 +257,7 @@ main(int argc, char *argv[]) > * module isn't present). In either case ignore the errors > * (malloc will cause other failures out lower down */ > ERR_clear_error(); >+#endif > > BIO *cert_bio = BIO_new_file(certfile, "r"); > X509 *cert = PEM_read_bio_X509(cert_bio, NULL, NULL, NULL);
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 648016
:
520036
| 520038