]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Add missing includes of stdlib.h and stdint.h. We need
authormillert@openbsd.org <millert@openbsd.org>
Wed, 20 Apr 2022 15:59:18 +0000 (15:59 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 27 Apr 2022 11:29:17 +0000 (21:29 +1000)
stdlib.h for malloc(3) and stdint.h for SIZE_MAX. Unlike the other xmss
files, ssh-xmss.c does not include xmss_commons.h so ssh-xmss.c must include
those headers itself. From Martin Vahlensieck

OpenBSD-Commit-ID: 70e28a9818cee3da1be2ef6503d4b396dd421e6b

ssh-xmss.c

index 7bd3a96a3bf599029aa50993dbc7a94a801aeef0..41ede29607c007ed41f61937254baa1ddde903e9 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-xmss.c,v 1.4 2020/10/19 22:49:23 dtucker Exp $*/
+/* $OpenBSD: ssh-xmss.c,v 1.5 2022/04/20 15:59:18 millert Exp $*/
 /*
  * Copyright (c) 2017 Stefan-Lukas Gazdag.
  * Copyright (c) 2017 Markus Friedl.
 #include <sys/types.h>
 #include <limits.h>
 
+#include <stdlib.h>
 #include <string.h>
 #include <stdarg.h>
+#include <stdint.h>
 #include <unistd.h>
 
 #include "log.h"