From 347057c10b237b623914383477975b9299126d81 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 11 Sep 2022 00:19:50 -0700 Subject: [PATCH] old versions of clang can only handle a single argument --- src/per_curve/eddsa.tmpl.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/per_curve/eddsa.tmpl.h b/src/per_curve/eddsa.tmpl.h index d3d253e..d9baa5e 100644 --- a/src/per_curve/eddsa.tmpl.h +++ b/src/per_curve/eddsa.tmpl.h @@ -143,8 +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", - "decaf_ed$(gf_shortname)_keypair_sign"))) + __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe decaf_ed$(gf_shortname)_keypair_sign"))) #endif ; @@ -171,8 +170,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", - "decaf_ed$(gf_shortname)_keypair_sign_prehash"))) + __attribute__((deprecated("Passing the pubkey and privkey separately is unsafe decaf_ed$(gf_shortname)_keypair_sign_prehash"))) #endif ;