diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-21 10:35:40 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-03-21 10:35:40 +0000 |
commit | 8d34e5660f85de663ba399c398b82cc6416aee9e (patch) | |
tree | 2960082b258455ca290a98edf90d6d9f595b19ed /package/openswan/linux-2.6.20.3-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch | |
parent | 1b5a21dab5da219cda3f421d097dd5afcc4c24a5 (diff) |
- fwd port
Diffstat (limited to 'package/openswan/linux-2.6.20.3-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch')
-rw-r--r-- | package/openswan/linux-2.6.20.3-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/openswan/linux-2.6.20.3-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch b/package/openswan/linux-2.6.20.3-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch new file mode 100644 index 000000000..52ebd1bb5 --- /dev/null +++ b/package/openswan/linux-2.6.20.3-openswan-2.4.7.kernel-2.6-zzz-crypto_alg_available.patch @@ -0,0 +1,11 @@ +--- linux-2.6.20.oorig/net/ipsec/ipsec_alg_cryptoapi.c 2007-02-15 12:30:41.000000000 +0100 ++++ linux-2.6.20/net/ipsec/ipsec_alg_cryptoapi.c 2007-02-15 13:47:07.000000000 +0100 +@@ -197,7 +197,7 @@ static struct ipsec_alg_capi_cipher alg_ + */ + int setup_cipher(const char *ciphername) + { +- return crypto_alg_available(ciphername, 0); ++ return crypto_has_alg(ciphername, 0, CRYPTO_ALG_ASYNC); + } + + /* |