summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2025-03-28 12:13:03 +0000
committertb <>2025-03-28 12:13:03 +0000
commit0f5de0cc0342fbc69a956776eb540d3bf8851e12 (patch)
treecc232651550004d1bd77353614eb18aaacfa1c06 /src/lib
parent6f92495acd179d025b8f561a930cab91a2c821b7 (diff)
downloadopenbsd-0f5de0cc0342fbc69a956776eb540d3bf8851e12.tar.gz
openbsd-0f5de0cc0342fbc69a956776eb540d3bf8851e12.tar.bz2
openbsd-0f5de0cc0342fbc69a956776eb540d3bf8851e12.zip
typo: primtive -> primitive
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/bytestring/bs_ber.c4
-rw-r--r--src/lib/libssl/bs_ber.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bytestring/bs_ber.c b/src/lib/libcrypto/bytestring/bs_ber.c
index eb1eed6185..6d7daaf77f 100644
--- a/src/lib/libcrypto/bytestring/bs_ber.c
+++ b/src/lib/libcrypto/bytestring/bs_ber.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bs_ber.c,v 1.3 2024/05/25 15:12:47 tb Exp $ */ 1/* $OpenBSD: bs_ber.c,v 1.4 2025/03/28 12:13:03 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014, Google Inc. 3 * Copyright (c) 2014, Google Inc.
4 * 4 *
@@ -161,7 +161,7 @@ cbs_convert_indefinite(CBS *in, CBB *out, char squash_header,
161 * This is a hack, but it sufficies to handle 161 * This is a hack, but it sufficies to handle
162 * NSS's output. If we find an indefinite 162 * NSS's output. If we find an indefinite
163 * length, context-specific tag with a definite, 163 * length, context-specific tag with a definite,
164 * primtive tag inside it, then we assume that 164 * primitive tag inside it, then we assume that
165 * the context-specific tag is implicit and the 165 * the context-specific tag is implicit and the
166 * tags within are fragments of a primitive type 166 * tags within are fragments of a primitive type
167 * that need to be concatenated. 167 * that need to be concatenated.
diff --git a/src/lib/libssl/bs_ber.c b/src/lib/libssl/bs_ber.c
index ea9fb253be..923ec06f3d 100644
--- a/src/lib/libssl/bs_ber.c
+++ b/src/lib/libssl/bs_ber.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bs_ber.c,v 1.12 2024/05/25 15:14:26 tb Exp $ */ 1/* $OpenBSD: bs_ber.c,v 1.13 2025/03/28 12:13:03 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014, Google Inc. 3 * Copyright (c) 2014, Google Inc.
4 * 4 *
@@ -161,7 +161,7 @@ cbs_convert_indefinite(CBS *in, CBB *out, char squash_header,
161 * This is a hack, but it sufficies to handle 161 * This is a hack, but it sufficies to handle
162 * NSS's output. If we find an indefinite 162 * NSS's output. If we find an indefinite
163 * length, context-specific tag with a definite, 163 * length, context-specific tag with a definite,
164 * primtive tag inside it, then we assume that 164 * primitive tag inside it, then we assume that
165 * the context-specific tag is implicit and the 165 * the context-specific tag is implicit and the
166 * tags within are fragments of a primitive type 166 * tags within are fragments of a primitive type
167 * that need to be concatenated. 167 * that need to be concatenated.