From: angelos Date: Tue, 18 Apr 2000 06:21:14 +0000 (+0000) Subject: Add a few newlines for readability. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=795ccb2b1af5b3171bab53f1df38dbc2b196582f;p=openbsd Add a few newlines for readability. --- 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; diff --git a/sys/crypto/cryptosoft.c b/sys/crypto/cryptosoft.c index 5091ea61b15..87e5909160a 100644 --- a/sys/crypto/cryptosoft.c +++ b/sys/crypto/cryptosoft.c @@ -720,6 +720,7 @@ swcr_process(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; }