raven-rhel6/libdecaf/fix-attribute-deprecated-decl.patch
2024-02-21 20:14:44 +06:00

21 lines
830 B
Diff

--- a/src/per_curve/eddsa.tmpl.h
+++ b/src/per_curve/eddsa.tmpl.h
@@ -143,7 +143,7 @@
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 @@
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
;