Drop support for non-gcrypt builds. (#1469)
* As there is now a builtin, lightweight libgcrypt there is no need to disable tls-clho decryption. * It is still possible to use a host libgcrypt with `--with-local-libgcrypt'. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
-2
@@ -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
|
||||
|
||||
-4
@@ -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: */
|
||||
|
||||
Reference in New Issue
Block a user