From 0d3a8537747e8460459a9a97a6f68c1510a65c1f Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 5 Dec 2009 11:47:33 +0200 Subject: Reverted all previous changes to combine hashes with MAC algorithms. It is now permissible to register a hash algorithm separately from a MAC. --- lib/crypto.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/crypto.h') diff --git a/lib/crypto.h b/lib/crypto.h index f93ac1e550..508fce670a 100644 --- a/lib/crypto.h +++ b/lib/crypto.h @@ -25,9 +25,9 @@ #ifndef CRYPTO_H # define CRYPTO_H -gnutls_crypto_single_cipher_st *_gnutls_get_crypto_cipher( gnutls_cipher_algorithm_t algo); -gnutls_crypto_single_digest_st *_gnutls_get_crypto_digest( gnutls_digest_algorithm_t algo); -gnutls_crypto_single_mac_st *_gnutls_get_crypto_mac( gnutls_mac_algorithm_t algo); +const gnutls_crypto_cipher_st *_gnutls_get_crypto_cipher( gnutls_cipher_algorithm_t algo); +const gnutls_crypto_digest_st *_gnutls_get_crypto_digest( gnutls_digest_algorithm_t algo); +const gnutls_crypto_mac_st *_gnutls_get_crypto_mac( gnutls_mac_algorithm_t algo); void _gnutls_crypto_deregister(void); #endif /* CRYPTO_H */ -- cgit v1.2.1