From: Nikos Mavrogiannopoulos Date: Sun, 29 Nov 2009 22:25:01 +0000 (+0200) Subject: corrected old type. X-Git-Tag: gnutls_2_9_10~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e41855f26a3ab2e8136c87e819002beca07afc53;p=thirdparty%2Fgnutls.git corrected old type. --- diff --git a/lib/cryptodev.c b/lib/cryptodev.c index d8293bd1da..ebe1dfc367 100644 --- a/lib/cryptodev.c +++ b/lib/cryptodev.c @@ -36,6 +36,7 @@ # define CRYPTO_CIPHER_MAX_KEY_LEN 64 #endif + static int cryptodev_fd = -1; struct cryptodev_ctx { @@ -152,7 +153,7 @@ struct cryptodev_ctx* ctx = _ctx; gnutls_free(ctx); } -const static gnutls_crypto_single_cipher_st cipher_struct = { +const static gnutls_crypto_cipher_st cipher_struct = { .init = cryptodev_cipher_init, .setkey = cryptodev_setkey, .setiv = cryptodev_setiv, @@ -252,5 +253,4 @@ void _gnutls_cryptodev_deinit() { return; } - #endif /* ENABLE_CRYPTODEV */