summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/crypto/cryptosoft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptosoft.c b/sys/crypto/cryptosoft.c
index bf7313d792a..7510096cd2e 100644
--- a/sys/crypto/cryptosoft.c
+++ b/sys/crypto/cryptosoft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptosoft.c,v 1.48 2007/09/13 21:26:41 hshoexer Exp $ */
+/* $OpenBSD: cryptosoft.c,v 1.49 2007/09/15 11:00:51 hshoexer Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -578,7 +578,7 @@ swcr_newsession(u_int32_t *sid, struct cryptoini *cri)
*sid = i;
while (cri) {
- swd = malloc(sizeof(struct swcr_data), M_CRYPTO_DATA,
+ *swd = malloc(sizeof(struct swcr_data), M_CRYPTO_DATA,
M_NOWAIT | M_ZERO);
if (*swd == NULL) {
swcr_freesession(i);