2
1

linux-2.6.20.4-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch 400 B

1234567891011
  1. --- linux-2.6.20.oorig/net/ipsec/ipsec_alg_cryptoapi.c 2007-02-15 12:30:41.000000000 +0100
  2. +++ linux-2.6.20/net/ipsec/ipsec_alg_cryptoapi.c 2007-02-15 13:47:07.000000000 +0100
  3. @@ -197,7 +197,7 @@ static struct ipsec_alg_capi_cipher alg_
  4. */
  5. int setup_cipher(const char *ciphername)
  6. {
  7. - return crypto_alg_available(ciphername, 0);
  8. + return crypto_has_alg(ciphername, 0, CRYPTO_ALG_ASYNC);
  9. }
  10. /*