From: Nikos Mavrogiannopoulos Date: Fri, 18 Dec 2009 10:03:23 +0000 (+0200) Subject: define EALG_MAX_BLOCK_LEN if not there. X-Git-Tag: gnutls_2_9_10~180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a583d7e2f56b377bf53b0e9b91f981271831dfec;p=thirdparty%2Fgnutls.git define EALG_MAX_BLOCK_LEN if not there. --- diff --git a/lib/cryptodev.c b/lib/cryptodev.c index e72a2accfc..ae5a05a7fa 100644 --- a/lib/cryptodev.c +++ b/lib/cryptodev.c @@ -37,6 +37,10 @@ # define CRYPTO_CIPHER_MAX_KEY_LEN 64 #endif +#ifndef EALG_MAX_BLOCK_LEN +# define EALG_MAX_BLOCK_LEN 16 +#endif + static int cryptodev_fd = -1;