diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-04-18 06:21:15 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2000-04-18 06:21:15 +0000 |
commit | 90a55c74353b0cf687e8480335a51f6e5e68a912 (patch) | |
tree | ed54c0d514c38e27881464eb5652abd11362f337 /sys/crypto/crypto.c | |
parent | 180083cb7709f32aa62ee6975b01ca38f530e79f (diff) |
Add a few newlines for readability.
Diffstat (limited to 'sys/crypto/crypto.c')
-rw-r--r-- | sys/crypto/crypto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/crypto/crypto.c b/sys/crypto/crypto.c index 4ef43f154f2..c30c50dabb3 100644 --- a/sys/crypto/crypto.c +++ b/sys/crypto/crypto.c @@ -302,6 +302,7 @@ crypto_dispatch(struct cryptop *crp) /* Migrate session */ 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) crp->crp_sid = nid; @@ -317,6 +318,7 @@ crypto_dispatch(struct cryptop *crp) /* Migrate session */ 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) crp->crp_sid = nid; |