File: fix-attribute-deprecated-decl.patch

package info (click to toggle)
libdecaf 1.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,280 kB
  • sloc: ansic: 8,294; cpp: 2,606; python: 421; makefile: 21
file content (30 lines) | stat: -rw-r--r-- 1,275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
Date: Sun, 2 Nov 2025 20:27:12 +0100
Subject: fix-attribute-deprecated-decl

---
 src/per_curve/eddsa.tmpl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/per_curve/eddsa.tmpl.h b/src/per_curve/eddsa.tmpl.h
index d3d253e..59e3b49 100644
--- a/src/per_curve/eddsa.tmpl.h
+++ b/src/per_curve/eddsa.tmpl.h
@@ -143,7 +143,7 @@ void DECAF_API_VIS decaf_ed$(gf_shortname)_sign (
     uint8_t context_len
 ) __attribute__((nonnull(1,2,3))) DECAF_NOINLINE
 #if DECAF_EDDSA_NON_KEYPAIR_API_IS_DEPRECATED
-  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe",
+  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe, use "
         "decaf_ed$(gf_shortname)_keypair_sign")))
 #endif
 ;
@@ -171,7 +171,7 @@ void DECAF_API_VIS decaf_ed$(gf_shortname)_sign_prehash (
     uint8_t context_len
 ) __attribute__((nonnull(1,2,3,4))) DECAF_NOINLINE
 #if DECAF_EDDSA_NON_KEYPAIR_API_IS_DEPRECATED
-  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe",
+  __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe, use "
         "decaf_ed$(gf_shortname)_keypair_sign_prehash")))
 #endif
 ;