summaryrefslogtreecommitdiff
path: root/lib/x509/pkcs12_encr.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-08 17:04:22 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-03-08 17:04:22 +0100
commitf225d1a0a68101409095dc1d5ef36f93a83519c1 (patch)
tree05191bb18be111d6acaad672aeeab0b69a424fd3 /lib/x509/pkcs12_encr.c
parent422cbd3109aaef0f9e6b1ca11bbd63549fc4fcb1 (diff)
downloadgnutls-f225d1a0a68101409095dc1d5ef36f93a83519c1.tar.gz
stricter type usage
Diffstat (limited to 'lib/x509/pkcs12_encr.c')
-rw-r--r--lib/x509/pkcs12_encr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/pkcs12_encr.c b/lib/x509/pkcs12_encr.c
index bac1840bff..c7ac7fb810 100644
--- a/lib/x509/pkcs12_encr.c
+++ b/lib/x509/pkcs12_encr.c
@@ -134,7 +134,7 @@ _gnutls_pkcs12_string_to_key(unsigned int id, const uint8_t * salt,
_gnutls_hash(&md, buf_i, pw ? i_size : 64);
_gnutls_hash_deinit(&md, hash);
for (i = 1; i < iter; i++) {
- rc = _gnutls_hash_fast(GNUTLS_MAC_SHA1, hash, 20,
+ rc = _gnutls_hash_fast(GNUTLS_DIG_SHA1, hash, 20,
hash);
if (rc < 0) {
gnutls_assert();