summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bytestring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/bytestring.h')
-rw-r--r--src/lib/libssl/bytestring.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/bytestring.h b/src/lib/libssl/bytestring.h
index 4c9d4d8884..8ea84005b4 100644
--- a/src/lib/libssl/bytestring.h
+++ b/src/lib/libssl/bytestring.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bytestring.h,v 1.13 2015/06/18 23:25:07 doug Exp $ */ 1/* $OpenBSD: bytestring.h,v 1.14 2015/06/19 00:23:36 doug Exp $ */
2/* 2/*
3 * Copyright (c) 2014, Google Inc. 3 * Copyright (c) 2014, Google Inc.
4 * 4 *
@@ -466,6 +466,12 @@ int CBB_add_asn1_uint64(CBB *cbb, uint64_t value);
466 466
467#ifdef LIBRESSL_INTERNAL 467#ifdef LIBRESSL_INTERNAL
468/* 468/*
469 * CBS_dup sets |out| to point to cbs's |data| and |len|. It results in two
470 * CBS that point to the same buffer.
471 */
472void CBS_dup(const CBS *cbs, CBS *out);
473
474/*
469 * cbs_get_any_asn1_element sets |*out| to contain the next ASN.1 element from 475 * cbs_get_any_asn1_element sets |*out| to contain the next ASN.1 element from
470 * |*cbs| (including header bytes) and advances |*cbs|. It sets |*out_tag| to 476 * |*cbs| (including header bytes) and advances |*cbs|. It sets |*out_tag| to
471 * the tag number and |*out_header_len| to the length of the ASN.1 header. If 477 * the tag number and |*out_header_len| to the length of the ASN.1 header. If