File: openssl-3.patch

package info (click to toggle)
spiped 1.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,192 kB
  • sloc: ansic: 10,658; sh: 903; makefile: 520; perl: 121
file content (16 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Suppress the OpenSSL warnings about functions deprecated in 3.x
Forwarded: no
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2023-01-07

--- a/libcperciva/crypto/crypto_aes.c
+++ b/libcperciva/crypto/crypto_aes.c
@@ -3,6 +3,8 @@
 #include <stdlib.h>
 #include <string.h>
 
+#define OPENSSL_SUPPRESS_DEPRECATED
+
 #include <openssl/aes.h>
 
 #include "cpusupport.h"