Public bug reported:

../../../lib/iolog/hostcheck.c: In function 'matches_common_name':
../../../lib/iolog/hostcheck.c:203:27: warning: assignment discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
  203 |         common_name_entry = 
X509_NAME_get_entry(X509_get_subject_name((X509 *) cert), common_name_loc);
      |                           ^
../../../lib/iolog/hostcheck.c:209:26: warning: assignment discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
  209 |         common_name_asn1 = X509_NAME_ENTRY_get_data(common_name_entry);
      |                          ^
../../../lib/iolog/hostcheck.c: In function 'matches_subject_alternative_name':
../../../lib/iolog/hostcheck.c:326:41: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
  326 |             if(current_name->d.iPAddress->length == 4) {
      |                                         ^~
../../../lib/iolog/hostcheck.c:333:49: error: invalid use of incomplete typedef 
'ASN1_OCTET_STRING' {aka 'struct asn1_string_st'}
  333 |             } else if (current_name->d.iPAddress->length == 16) {
      |                                                 ^~
make[3]: *** [Makefile:499: hostcheck.lo] Error 1

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161810

Title:
  FTBFS with openssl4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2161810/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to