Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138327:

Package: identity4c
Version: 1.0-1.1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| identity-openssl-bridge.c: In function 'ssl_initialize_identity_context':
| identity-openssl-bridge.c:99:5: warning: 'SSL_CTX_use_RSAPrivateKey_file' is 
deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
|    99 |     res = SSL_CTX_use_RSAPrivateKey_file(ctx, (key_file_name != NULL) 
? key_file_name : certificate_file_name, SSL_FILETYPE_PEM);
|       |     ^~~
| In file included from identity.h:3,
|                  from identity-openssl-bridge.c:4:
| /usr/include/openssl/ssl.h:1751:12: note: declared here
|  1751 | __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char 
*file,
|       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| identity-openssl-bridge.c: In function 'ssl_free_identity_context':
| identity-openssl-bridge.c:121:5: error: implicit declaration of function 
'ERR_remove_thread_state' [-Wimplicit-function-declaration]
|   121 |     ERR_remove_thread_state(NULL);
|       |     ^~~~~~~~~~~~~~~~~~~~~~~
| identity-openssl-bridge.c: In function 'send_message':
| identity-openssl-bridge.c:284:30: warning: initialization discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   284 |         X509_NAME *subject = X509_get_subject_name(cert);
|       |                              ^~~~~~~~~~~~~~~~~~~~~
| identity-openssl-bridge.c: In function 'verify_callback':
| identity-openssl-bridge.c:426:24: warning: initialization discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   426 |     X509_NAME *iname = cert ? X509_get_issuer_name(cert) : NULL;
|       |                        ^~~~
| identity-openssl-bridge.c:427:24: warning: initialization discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   427 |     X509_NAME *sname = cert ? X509_get_subject_name(cert) : NULL;
|       |                        ^~~~
| identity-openssl-bridge.c: In function 'get_cn_name':
| identity-openssl-bridge.c:478:34: warning: initialization discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   478 |         X509_NAME_ENTRY *entry = X509_NAME_get_entry(name, idx);
|       |                                  ^~~~~~~~~~~~~~~~~~~
| identity-openssl-bridge.c:482:29: warning: initialization discards 'const' 
qualifier from pointer target type [-Wdiscarded-qualifiers]
|   482 |         ASN1_STRING *data = X509_NAME_ENTRY_get_data(entry);
|       |                             ^~~~~~~~~~~~~~~~~~~~~~~~
| identity-openssl-bridge.c: In function 'init_openssl_library':
| identity-openssl-bridge.c:521:5: warning: 'OPENSSL_config' is deprecated: 
Since OpenSSL 1.1.0 [-Wdeprecated-declarations]
|   521 |     OPENSSL_config(NULL);
|       |     ^~~~~~~~~~~~~~
| In file included from /usr/include/openssl/http.h:19,
|                  from /usr/include/openssl/x509.h:568,
|                  from /usr/include/openssl/ssl.h:34:
| /usr/include/openssl/conf.h:139:30: note: declared here
|   139 | OSSL_DEPRECATEDIN_1_1_0 void OPENSSL_config(const char *config_name);
|       |                              ^~~~~~~~~~~~~~
| make[2]: *** [Makefile:523: libufpidentity_la-identity-openssl-bridge.lo] 
Error 1


Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/identity4c_1.0-1.1_amd64-2026-04-19T09:53:32Z

Sebastian

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

** Affects: identity4c (Debian)
     Importance: Undecided
         Status: New

** Bug watch added: Debian Bug tracker #1138327
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138327

** Changed in: identity4c (Debian)
 Remote watch: None => Debian Bug tracker #1138327

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

Title:
  identity4c: FTBFS with openssl 4.0

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


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

Reply via email to