From 795ccb2b1af5b3171bab53f1df38dbc2b196582f Mon Sep 17 00:00:00 2001 From: angelos Date: Tue, 18 Apr 2000 06:21:14 +0000 Subject: [PATCH] Add a few newlines for readability. --- sys/crypto/crypto.c | 2 ++ sys/crypto/cryptosoft.c | 1 + 2 files changed, 3 insertions(+) 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; } -- 2.20.1