Skip to content

Commit

Permalink
Remove bundled Nettle in favor of the system version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lisdude committed Feb 10, 2019
1 parent 6502fc2 commit fe1f8fd
Show file tree
Hide file tree
Showing 50 changed files with 260 additions and 5,995 deletions.
525 changes: 245 additions & 280 deletions Makefile.in

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions configure.ac
Expand Up @@ -277,6 +277,15 @@ dnl ***************************************************************************
CFLAGS+=" `$PCRE_CONFIG --cflags`"
fi

dnl ***************************************************************************
AC_CHECK_HEADER([nettle/md5.h], [found_nettle=yes], [found_nettle=no])
if test "$found_nettle" != "yes" ; then
AC_MSG_ERROR([Nettle could not be found.])
else
AC_DEFINE(HAS_NETTLE)
ELIBS="${ELIBS} -lhogweed -lnettle -lgmp"
fi

dnl ***************************************************************************
echo checking which MOO networking configurations are likely to work...
define(MOO_ADD_NET_CONFIG,[
Expand Down
10 changes: 5 additions & 5 deletions crypto.cc
Expand Up @@ -35,11 +35,11 @@
#include "functions.h"
#include "crypto.h"
#include "list.h"
#include "nettle/hmac.h"
#include "nettle/md5.h"
#include "nettle/ripemd160.h"
#include "nettle/sha1.h"
#include "nettle/sha2.h"
#include <nettle/hmac.h>
#include <nettle/md5.h>
#include <nettle/ripemd160.h>
#include <nettle/sha1.h>
#include <nettle/sha2.h>
#include "random.h"
#include "server.h"
#include "storage.h"
Expand Down
674 changes: 0 additions & 674 deletions nettle/COPYING.LIB

This file was deleted.

49 changes: 0 additions & 49 deletions nettle/README

This file was deleted.

59 changes: 0 additions & 59 deletions nettle/hmac-md5.c

This file was deleted.

59 changes: 0 additions & 59 deletions nettle/hmac-ripemd160.c

This file was deleted.

59 changes: 0 additions & 59 deletions nettle/hmac-sha1.c

This file was deleted.

52 changes: 0 additions & 52 deletions nettle/hmac-sha224.c

This file was deleted.

59 changes: 0 additions & 59 deletions nettle/hmac-sha256.c

This file was deleted.

0 comments on commit fe1f8fd

Please sign in to comment.