Re: ssh-xmss.c: Add missing includes

2022-04-19 Thread Todd C . Miller
On Tue, 19 Apr 2022 11:42:52 +0200, Martin Vahlensieck wrote:

> malloc(3) and friends require stdlib.h, SIZE_MAX requires stdint.h.

You are correct.  The other xmss files get these includes via
xmss_commons.h, but ssh-xmss.c does not.

 - todd



ssh-xmss.c: Add missing includes

2022-04-19 Thread Martin Vahlensieck
Hi

malloc(3) and friends require stdlib.h, SIZE_MAX requires stdint.h.

Best,

Martin

Index: ssh-xmss.c
===
RCS file: /cvs/src/usr.bin/ssh/ssh-xmss.c,v
retrieving revision 1.4
diff -u -p -r1.4 ssh-xmss.c
--- ssh-xmss.c  19 Oct 2020 22:49:23 -  1.4
+++ ssh-xmss.c  7 Apr 2022 07:14:09 -
@@ -19,8 +19,10 @@
 #include 
 #include 
 
+#include 
 #include 
 #include 
+#include 
 #include 
 
 #include "log.h"