File: build-with-openssl-v3.patch

package info (click to toggle)
libdigidoc 3.10.5-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,528 kB
  • sloc: ansic: 29,054; makefile: 16
file content (23 lines) | stat: -rw-r--r-- 1,100 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Resolve FTBFS with OpenSSL v3
 This package uses some deprecated OCSP constants. There is a history
 of defining them manually once they are removed from openssl. This
 patch continues that behavior with two additional constants that
 are not defined in openssl v3
Author: William 'jawn-smith' Wilson <jawn-smith@ubuntu.com>
Bug-Debian: https://bugs.debian.org/1006389
Last-Update: 2022-06-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: libdigidoc-3.10.5/libdigidoc/DigiDocOCSP.c
===================================================================
--- libdigidoc-3.10.5.orig/libdigidoc/DigiDocOCSP.c
+++ libdigidoc-3.10.5/libdigidoc/DigiDocOCSP.c
@@ -109,6 +109,8 @@
 # define OCSP_R_NO_CONTENT                                106
 # define OCSP_F_OCSP_SENDREQ_BIO                          112
 # define OCSP_R_SERVER_READ_ERROR                         113
+# define OCSP_R_SERVER_RESPONSE_ERROR                     114
+# define OCSP_R_SERVER_RESPONSE_PARSE_ERROR               115
 # define OCSP_R_SERVER_WRITE_ERROR                        116
 #endif