summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2025-01-17 05:02:18 +0000
committertb <>2025-01-17 05:02:18 +0000
commit35718f0265c83f7e352a7c2a46a1abd8cc6de5d7 (patch)
tree93a1d912697b412ba662236a408043da19ce7f54
parent5f0eba55ef76d10d214ee6e9720f71139555905b (diff)
downloadopenbsd-35718f0265c83f7e352a7c2a46a1abd8cc6de5d7.tar.gz
openbsd-35718f0265c83f7e352a7c2a46a1abd8cc6de5d7.tar.bz2
openbsd-35718f0265c83f7e352a7c2a46a1abd8cc6de5d7.zip
asn_mime: deteched -> detached + a knf nit
-rw-r--r--src/lib/libcrypto/asn1/asn_mime.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/asn_mime.c b/src/lib/libcrypto/asn1/asn_mime.c
index 261067366a..3995fc547c 100644
--- a/src/lib/libcrypto/asn1/asn_mime.c
+++ b/src/lib/libcrypto/asn1/asn_mime.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn_mime.c,v 1.34 2024/03/29 04:35:42 tb Exp $ */ 1/* $OpenBSD: asn_mime.c,v 1.35 2025/01/17 05:02:18 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -379,7 +379,8 @@ asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags,
379 ASN1_STREAM_ARG sarg; 379 ASN1_STREAM_ARG sarg;
380 int rv = 1; 380 int rv = 1;
381 381
382 /* If data is not deteched or resigning then the output BIO is 382 /*
383 * If data is not detached or resigning then the output BIO is
383 * already set up to finalise when it is written through. 384 * already set up to finalise when it is written through.
384 */ 385 */
385 if (!(flags & SMIME_DETACHED) || (flags & PKCS7_REUSE_DIGEST)) { 386 if (!(flags & SMIME_DETACHED) || (flags & PKCS7_REUSE_DIGEST)) {