Re: [LFS Trac] #5912: openssl-4.0.0

"LFS Trac" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
#5912: openssl-4.0.0
-------------------------+-----------------------
 Reporter:  Bruce Dubbs  |       Owner:  lfs-book
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  13.1
Component:  Book         |     Version:  git
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------
Comment (by Joe Locash):

 Replying to [comment:18 Xi Ruoyao]:
 > rustc is a little complicated, we need to update (or patch but I don't
 think patching is easier than updating) the shipped openssl and openssl-
 sys crates (used by cargo) to support openssl-4.0.0.

 Are opensll* the only crates that needs to be updated? I'm seeing this
 with curl:

 {{{
   cargo:warning=curl/lib/vtls/openssl.c: In function 'ossl_certchain':
   cargo:warning=curl/lib/vtls/openssl.c:433:11: error: invalid use of
 incomplete
  typedef 'ASN1_INTEGER' {aka 'struct asn1_string_st'}
   cargo:warning=  433 |     if(num->type == V_ASN1_NEG_INTEGER)
   cargo:warning=      |           ^~
   cargo:warning=curl/lib/vtls/openssl.c:435:23: error: invalid use of
 incomplete
  typedef 'ASN1_INTEGER' {aka 'struct asn1_string_st'}
   cargo:warning=  435 |     for(j = 0; j < num->length; j++)
   cargo:warning=      |                       ^~
   cargo:warning=curl/lib/vtls/openssl.c:436:34: error: invalid use of
 incomplete
  typedef 'ASN1_INTEGER' {aka 'struct asn1_string_st'}
   cargo:warning=  436 |       BIO_printf(mem, "%02x", num->data[j]);
   cargo:warning=      |                                  ^~
   cargo:warning=curl/lib/vtls/openssl.c:634:26: error: invalid use of
 incomplete
  typedef 'ASN1_BIT_STRING' {aka 'const struct asn1_string_st'}
   cargo:warning=  634 |       for(j = 0; j < psig->length; j++)
   cargo:warning=      |                          ^~
   cargo:warning=curl/lib/vtls/openssl.c:635:38: error: invalid use of
 incomplete
  typedef 'ASN1_BIT_STRING' {aka 'const struct asn1_string_st'}
   cargo:warning=  635 |         BIO_printf(mem, "%02x:", psig->data[j]);
   cargo:warning=      |                                      ^~
 }}}
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5912#comment:22>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.