SwordArMor-gentoo-overlay/net-misc/openssh/files/openssh-9.6_p1-fix-xmss-c99.patch
Alarig Le Lay daf5deef90
net-misc/openssh: Adding 9.8 with DSA
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-10-10 13:15:40 +02:00

21 lines
696 B
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

xmss_hash.c: In function core_hash_SHA2:
xmss_hash.c:56:5: error: implicit declaration of function SHA256 [-Wimplicit-function-declaration]
56 | SHA256(buf, inlen + keylen + n, out);
| ^~~~~~
xmss_hash.c:61:7: error: implicit declaration of function SHA512 [-Wimplicit-function-declaration]
61 | SHA512(buf, inlen + keylen + n, out);
| ^~~~~~
diff --git a/xmss_hash.c b/xmss_hash.c
index 70c126ae2..cb17de2af 100644
--- a/xmss_hash.c
+++ b/xmss_hash.c
@@ -12,6 +12,7 @@ Public domain.
#include "xmss_hash_address.h"
#include "xmss_commons.h"
#include "xmss_hash.h"
+#include <openssl/sha.h>
#include <stddef.h>
#ifdef HAVE_STDINT_H