mp_clear_multi - reverse the order

This commit is contained in:
Karel Miko 2017-09-14 18:51:02 +02:00
parent 6200f301a5
commit a990a8252e

View File

@ -91,7 +91,7 @@ int dsa_int_validate_pqg(dsa_key *key, int *stat)
err = CRYPT_OK;
*stat = 1;
error:
mp_clear_multi(tmp1, tmp2, NULL);
mp_clear_multi(tmp2, tmp1, NULL);
return err;
}