diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-03-08 17:04:22 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-03-08 17:04:22 +0100 |
commit | f225d1a0a68101409095dc1d5ef36f93a83519c1 (patch) | |
tree | 05191bb18be111d6acaad672aeeab0b69a424fd3 /lib/crypto-api.c | |
parent | 422cbd3109aaef0f9e6b1ca11bbd63549fc4fcb1 (diff) | |
download | gnutls-f225d1a0a68101409095dc1d5ef36f93a83519c1.tar.gz |
stricter type usage
Diffstat (limited to 'lib/crypto-api.c')
-rw-r--r-- | lib/crypto-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto-api.c b/lib/crypto-api.c index 2ec9083337..3353a261c9 100644 --- a/lib/crypto-api.c +++ b/lib/crypto-api.c @@ -482,7 +482,7 @@ gnutls_hash_init(gnutls_hash_hd_t * dig, } return _gnutls_hash_init(((digest_hd_st *) * dig), - mac_to_entry(algorithm)); + hash_to_entry(algorithm)); } /** @@ -547,7 +547,7 @@ void gnutls_hash_deinit(gnutls_hash_hd_t handle, void *digest) **/ int gnutls_hash_get_len(gnutls_digest_algorithm_t algorithm) { - return _gnutls_hash_get_algo_len(mac_to_entry(algorithm)); + return _gnutls_hash_get_algo_len(hash_to_entry(algorithm)); } /** |