Project

General

Profile

Actions

Anonymous #780

open

Openssl 3.0

Added by Anonymous about 2 years ago. Updated 10 months ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
Start date:
2022-09-16
Due date:
% Done:

0%

Estimated time:
Patch Available:
Yes
Found in Versions:
Confirmed:
No
Security:
Help Needed:

Description

Trying to build with OpenSSL 3, it fails with:

gcc -DHAVE_CONFIG_H -I.     -Wall -Wextra -Werror -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code -Wpedantic -Wformat=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wformat-security -Wnull-dereference -Wstack-protector -Wtrampolines -Walloca -Wvla -Warray-bounds=2 -Wimplicit-fallthrough=3 -Wtraditional-conversion -Wshift-overflow=2 -Wcast-qual -Wstringop-overflow=4 -Wconversion -Warith-conversion -Wlogical-op -Wduplicated-cond -Wduplicated-branches -Wformat-signedness -Wshadow -Wstrict-overflow=4 -Wundef -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wstack-usage=1000000 -Wcast-align=strict -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DPIC -fPIC -c -o libbip_a-connection.o `test -f 'connection.c' || echo './'`connection.c
connection.c: In function 'ctx_set_dh':
connection.c:1184:9: error: 'PEM_read_DHparams' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1184 |         dh = PEM_read_DHparams(f, NULL, NULL, NULL);
      |         ^~
In file included from connection.h:37,
                 from connection.c:18:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
connection.c:1199:9: error: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
 1199 |         DH_free(dh);
      |         ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:37,
                 from connection.h:35:
/usr/include/openssl/dh.h:200:28: note: declared here
  200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~


With GCC12

Actions #1

Updated by Loïc Gomez 10 months ago

  • Status changed from New to In Progress
  • Assignee set to Loïc Gomez
  • Priority changed from Normal to High
Actions #3

Updated by Loïc Gomez 10 months ago

  • Target version set to 21
  • Patch Available set to Yes
Actions #4

Updated by Loïc Gomez 10 months ago

  • Target version deleted (21)
Actions #5

Updated by Loïc Gomez 10 months ago

  • Target version set to 21
Actions #6

Updated by Loïc Gomez 10 months ago

  • Target version deleted (21)
Actions #7

Updated by Loïc Gomez 10 months ago

  • Target version set to 21
Actions #8

Updated by Loïc Gomez 10 months ago

  • Target version changed from 21 to 0.10.0
Actions

Also available in: Atom PDF