diff options
| author | 2001-05-13 15:39:23 +0000 | |
|---|---|---|
| committer | 2001-05-13 15:39:23 +0000 | |
| commit | 4385f5350d8c4c591d09244f4934265caae544c6 (patch) | |
| tree | 303bd4ba3f6daf262711ae78d4acab7db8136f73 /sys/crypto/cryptosoft.c | |
| parent | left tag uninitted in the good case in the last commit; jason@ pointed it out (diff) | |
| download | wireguard-openbsd-4385f5350d8c4c591d09244f4934265caae544c6.tar.xz wireguard-openbsd-4385f5350d8c4c591d09244f4934265caae544c6.zip | |
initial cut at /dev/crypto support. takes original mbuf "try, and discard
if we fail" semantics and extends to two varients of data movement: mbuf,
or an iovec style block.
Diffstat (limited to 'sys/crypto/cryptosoft.c')
| -rw-r--r-- | sys/crypto/cryptosoft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptosoft.c b/sys/crypto/cryptosoft.c index cfdf483b36f..4326d6d8832 100644 --- a/sys/crypto/cryptosoft.c +++ b/sys/crypto/cryptosoft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptosoft.c,v 1.18 2001/05/05 00:31:34 angelos Exp $ */ +/* $OpenBSD: cryptosoft.c,v 1.19 2001/05/13 15:39:27 deraadt Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) @@ -762,7 +762,7 @@ swcr_process(struct cryptop *crp) for (crd = crp->crp_desc; crd->crd_next; crd = crd->crd_next) crd->CRD_INI.cri_next = &(crd->crd_next->CRD_INI); - if (crypto_newsession(&nid, &(crp->crp_desc->CRD_INI)) == 0) + if (crypto_newsession(&nid, &(crp->crp_desc->CRD_INI), 0) == 0) crp->crp_sid = nid; } |
