Commit 6ed40ec2 authored by Niels Möller's avatar Niels Möller

* bignum-next-prime.c: Include stdlib.h, needed for alloca on

freebsd.
* hmac.c: Likewise.

Rev: nettle/ChangeLog:1.77
Rev: nettle/bignum-next-prime.c:1.5
Rev: nettle/hmac.c:1.2
parent a34d2bd2
2010-04-09 Niels Mller <nisse@lysator.liu.se>
* bignum-next-prime.c: Include stdlib.h, needed for alloca on
freebsd.
* hmac.c: Likewise.
* examples/Makefile.in (SOURCES): Added random-prime.c.
* examples/random-prime.c: New program.
* testsuite/Makefile.in (TS_NETTLE_SOURCES): Moved
......
......@@ -27,6 +27,8 @@
#endif
#include <limits.h>
/* Needed for alloca on freebsd */
#include <stdlib.h>
#include "bignum.h"
......
......@@ -28,6 +28,8 @@
#endif
#include <assert.h>
/* Needed for alloca on freebsd */
#include <stdlib.h>
#include <string.h>
#include "hmac.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment