allow weak in PBE_string2key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24821 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2744,6 +2744,8 @@ PBE_string2key(hx509_context context,
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
hx509_crypto_allow_weak(c);
|
||||
|
||||
ret = hx509_crypto_set_key_data(c, key->data, key->length);
|
||||
if (ret) {
|
||||
hx509_crypto_destroy(c);
|
||||
|
Reference in New Issue
Block a user