Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required for IKEv2 anyway
This commit is contained in:
@@ -655,7 +655,7 @@ receiver_t *receiver_create()
|
||||
this->initiator_only = lib->settings->get_bool(lib->settings,
|
||||
"%s.initiator_only", FALSE, charon->name),
|
||||
|
||||
this->hasher = lib->crypto->create_hasher(lib->crypto, HASH_PREFERRED);
|
||||
this->hasher = lib->crypto->create_hasher(lib->crypto, HASH_SHA1);
|
||||
if (!this->hasher)
|
||||
{
|
||||
DBG1(DBG_NET, "creating cookie hasher failed, no hashers supported");
|
||||
|
||||
Reference in New Issue
Block a user