(hx509_crypto_select): copy AI to the right place.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20723 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2476,7 +2476,7 @@ hx509_crypto_select(const hx509_context context,
|
||||
continue;
|
||||
if (cipher->ai_func == NULL)
|
||||
continue;
|
||||
ret = copy_AlgorithmIdentifier(&peer->val[i], cipher->ai_func());
|
||||
ret = copy_AlgorithmIdentifier(cipher->ai_func(), selected);
|
||||
if (ret)
|
||||
hx509_clear_error_string(context);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user