permit SHA-1, as some ePDGs require that

laforge/swu
Tomcsányi, Domonkos 1 year ago committed by Harald Welte
parent f68dcde6c5
commit 18b4a240dd
  1. 4
      src/libstrongswan/crypto/hashers/hasher.c

@ -343,16 +343,16 @@ bool hasher_algorithm_for_ikev2(hash_algorithm_t alg)
{
switch (alg)
{
case HASH_IDENTITY:
case HASH_SHA1:
case HASH_SHA256:
case HASH_SHA384:
case HASH_SHA512:
return TRUE;
case HASH_IDENTITY:
case HASH_UNKNOWN:
case HASH_MD2:
case HASH_MD4:
case HASH_MD5:
case HASH_SHA1:
case HASH_SHA224:
case HASH_SHA3_224:
case HASH_SHA3_256:

Loading…
Cancel
Save