summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-08-08 21:26:53 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-08-08 21:26:53 +0000
commitbe9578aaa3c368bb2ffad5a725a00189261aeb7a (patch)
tree0ba7fcd9f678f6fafc3ee33c286179fd4f68e18b /sys/net
parenteb7dfc384f17c5be61862e64e552a4d164e94ede (diff)
Big oops -- lucky us BLF and CAST are not used by anyone else (on the
other hand, the problem would have been noticed much earlier) -- noticed by bugfix@163.net
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pfkeyv2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c
index 162bf5cc10c..e7c254d7d86 100644
--- a/sys/net/pfkeyv2.c
+++ b/sys/net/pfkeyv2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.c,v 1.36 2000/03/26 06:40:50 angelos Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.37 2000/08/08 21:26:52 angelos Exp $ */
/*
%%% copyright-nrl-97
This software is Copyright 1997-1998 by Randall Atkinson, Ronald Lee,
@@ -250,11 +250,11 @@ export_sa(void **p, struct tdb *tdb)
break;
case CRYPTO_CAST_CBC:
- sadb_sa->sadb_sa_encrypt = SADB_X_EALG_BLF;
+ sadb_sa->sadb_sa_encrypt = SADB_X_EALG_CAST;
break;
case CRYPTO_BLF_CBC:
- sadb_sa->sadb_sa_encrypt = SADB_X_EALG_CAST;
+ sadb_sa->sadb_sa_encrypt = SADB_X_EALG_BLF;
break;
case CRYPTO_SKIPJACK_CBC:
@@ -2140,11 +2140,11 @@ pfkeyv2_acquire(struct tdb *tdb, int rekey)
break;
case CRYPTO_CAST_CBC:
- sadb_comb->sadb_comb_encrypt = SADB_X_EALG_BLF;
+ sadb_comb->sadb_comb_encrypt = SADB_X_EALG_CAST;
break;
case CRYPTO_BLF_CBC:
- sadb_comb->sadb_comb_encrypt = SADB_X_EALG_CAST;
+ sadb_comb->sadb_comb_encrypt = SADB_X_EALG_BLF;
break;
case CRYPTO_SKIPJACK_CBC: