botan: Replace deprecated FFI function calls

Several "wrapper" functions have been marked deprecated with 2.11.0.
This commit is contained in:
Tobias Brunner
2019-07-02 11:35:21 +02:00
parent ab1aa03bf5
commit 6051d9b5e4
7 changed files with 14 additions and 10 deletions
@@ -211,7 +211,7 @@ botan_ec_diffie_hellman_t *botan_ec_diffie_hellman_create(
return NULL;
}
if (botan_privkey_create_ecdh(&this->key, rng, this->curve_name))
if (botan_privkey_create(&this->key, "ECDH", this->curve_name, rng))
{
DBG1(DBG_LIB, "ECDH private key generation failed");
botan_rng_destroy(rng);