summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-02-21 20:33:36 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-02-21 20:33:36 +0000
commit1eb65e9e9d1688a4857c9083d61c147e7ac16d5e (patch)
tree93713359b61cc5b926dce2126839c94017d577a3
parentfc0ee2c2a08cf9b2b3df461332ea379a78664560 (diff)
There's no cleaning necessary for deflate compression, so remove it from
the switch.
-rw-r--r--sys/crypto/cryptosoft.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/crypto/cryptosoft.c b/sys/crypto/cryptosoft.c
index e42149f4df4..0ef6b6f3a4d 100644
--- a/sys/crypto/cryptosoft.c
+++ b/sys/crypto/cryptosoft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptosoft.c,v 1.37 2002/11/21 19:34:25 jason Exp $ */
+/* $OpenBSD: cryptosoft.c,v 1.38 2003/02/21 20:33:35 jason Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -741,7 +741,6 @@ swcr_freesession(u_int64_t tid)
struct swcr_data *swd;
struct enc_xform *txf;
struct auth_hash *axf;
- struct comp_algo *cxf;
u_int32_t sid = ((u_int32_t) tid) & 0xffffffff;
if (sid > swcr_sesnum || swcr_sessions == NULL ||
@@ -805,10 +804,6 @@ swcr_freesession(u_int64_t tid)
if (swd->sw_ictx)
free(swd->sw_ictx, M_CRYPTO_DATA);
break;
-
- case CRYPTO_DEFLATE_COMP:
- cxf = swd->sw_cxf;
- break;
}
FREE(swd, M_CRYPTO_DATA);