Skip to content

Commit d100eb0

Browse files
committed
<nettle/version.h> -> <nettle/bignum.h> for backward compatibility.
1 parent 10d8b5f commit d100eb0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/crypto.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
#if defined(HAVE_DNSSEC) || defined(HAVE_CRYPTOHASH)
2020

2121
/* Minimal version of nettle */
22-
#include <nettle/version.h>
22+
23+
/* bignum.h includes version.h and works on
24+
earlier releases of nettle which don't have version.h */
25+
#include <nettle/bignum.h>
2326
#if !defined(NETTLE_VERSION_MAJOR)
2427
# define NETTLE_VERSION_MAJOR 2
2528
# define NETTLE_VERSION_MINOR 0

0 commit comments

Comments
 (0)