From 59026c7f679b8a32e41aaa910c1445e34562205b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 4 Aug 2014 10:58:49 +0200 Subject: pkcs12: increased the number of iterations for MAC --- lib/x509/pkcs12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/x509/pkcs12.c b/lib/x509/pkcs12.c index 00a3e7f055..7b63a5b43a 100644 --- a/lib/x509/pkcs12.c +++ b/lib/x509/pkcs12.c @@ -861,7 +861,7 @@ int gnutls_pkcs12_generate_mac(gnutls_pkcs12_t pkcs12, const char *pass) { uint8_t salt[8], key[20]; int result; - const int iter = 1; + const int iter = 10*1024; mac_hd_st td1; gnutls_datum_t tmp = { NULL, 0 }; uint8_t sha_mac[20]; -- cgit v1.2.1