aboutsummaryrefslogtreecommitdiff
path: root/src/lib/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/third_party')
-rw-r--r--src/lib/third_party/include/gcrypt_light.h2
-rw-r--r--src/lib/third_party/src/gcrypt_light.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/third_party/include/gcrypt_light.h b/src/lib/third_party/include/gcrypt_light.h
index de77c8e38..5edacd6c6 100644
--- a/src/lib/third_party/include/gcrypt_light.h
+++ b/src/lib/third_party/include/gcrypt_light.h
@@ -2,8 +2,6 @@
#ifndef GCRY_LIGHT_H
#define GCRY_LIGHT_H
-#define LIBGCRYPT_INTERNAL
-
#define HMAC_SHA256_DIGEST_SIZE 32 /* Same as SHA-256's output size. */
#define SHA256_DIGEST_SIZE 32
#define GCRY_MD_BUFF_SIZE 256
diff --git a/src/lib/third_party/src/gcrypt_light.c b/src/lib/third_party/src/gcrypt_light.c
index ecd4b6fc4..c048e8704 100644
--- a/src/lib/third_party/src/gcrypt_light.c
+++ b/src/lib/third_party/src/gcrypt_light.c
@@ -8,8 +8,6 @@
#include "ndpi_api.h"
-#if !defined(HAVE_LIBGCRYPT)
-
#if defined(__GNUC__) && \
( defined(__amd64__) || defined(__x86_64__) ) && \
! defined(MBEDTLS_HAVE_X86_64)
@@ -372,6 +370,4 @@ gcry_error_t gcry_cipher_decrypt (gcry_cipher_hd_t h,
return _gcry_cipher_crypt(h,out,outsize,in,inlen,0);
}
-#endif /* HAVE_LIBGCRYPT */
-
/* vim: set ts=4 sw=4 et: */