diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-04 10:58:49 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-08-24 14:27:09 +0200 |
commit | 59026c7f679b8a32e41aaa910c1445e34562205b (patch) | |
tree | 95f662f468336f72f299ab89daf7daea053a301d /lib | |
parent | 5b1bd1963651b7fb78f4af06fba9455638eac53b (diff) | |
download | gnutls-59026c7f679b8a32e41aaa910c1445e34562205b.tar.gz |
pkcs12: increased the number of iterations for MAC
Diffstat (limited to 'lib')
-rw-r--r-- | lib/x509/pkcs12.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |