summaryrefslogtreecommitdiff
path: root/hmac.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-08-05 21:23:10 +0200
committerNiels Möller <nisse@lysator.liu.se>2022-08-05 21:23:10 +0200
commitfae01ac059343d153610ec7a8334172e302d495c (patch)
tree72730c5aecd5c622a91c3670695310decc78d6a5 /hmac.c
parentf4ec224a9903f89bd45b5a3563df502c885d8bf6 (diff)
downloadnettle-fae01ac059343d153610ec7a8334172e302d495c.tar.gz
Fix alloca warnings on bsd systems.
* nettle-internal.h: Include stdlib.h, fix alloca warnings on BSD. * hmac.c: Delete corresponding include here, no longer needed.
Diffstat (limited to 'hmac.c')
-rw-r--r--hmac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hmac.c b/hmac.c
index 6ac5e11a..ea356970 100644
--- a/hmac.c
+++ b/hmac.c
@@ -36,8 +36,6 @@
#endif
#include <assert.h>
-/* Needed for alloca on freebsd */
-#include <stdlib.h>
#include <string.h>
#include "hmac.h"