diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-07-09 17:01:00 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-07-09 17:01:00 +0000 |
commit | abd8e35202e40f65ae2c13af7936599ac6df8e38 (patch) | |
tree | 888c47edc2120ee498c70eb91aad74528287dd61 /lib | |
parent | 8b5dfedcfceb0de98612bda2f1c70b739ef244bd (diff) |
Zap or align some ugly comments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/kdf/tls1_prf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libcrypto/kdf/tls1_prf.c b/lib/libcrypto/kdf/tls1_prf.c index 970d77253bf..1ba1e363f71 100644 --- a/lib/libcrypto/kdf/tls1_prf.c +++ b/lib/libcrypto/kdf/tls1_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls1_prf.c,v 1.28 2024/07/09 17:00:25 tb Exp $ */ +/* $OpenBSD: tls1_prf.c,v 1.29 2024/07/09 17:00:59 tb Exp $ */ /* * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project * 2016. @@ -284,7 +284,7 @@ tls1_prf_P_hash(const EVP_MD *md, goto err; for (;;) { - /* Reinit mac contexts */ + /* Reinit mac contexts */ if (!EVP_MD_CTX_copy_ex(ctx, ctx_init)) goto err; if (!EVP_DigestSignUpdate(ctx, A1, A1_len)) @@ -300,10 +300,9 @@ tls1_prf_P_hash(const EVP_MD *md, goto err; out += mac_len; out_len -= mac_len; - /* calc the next A1 value */ if (!EVP_DigestSignFinal(ctx_tmp, A1, &A1_len)) goto err; - } else { /* last one */ + } else { if (!EVP_DigestSignFinal(ctx, A1, &A1_len)) goto err; memcpy(out, A1, out_len); |