diff options
author | doug <> | 2015-06-16 06:11:39 +0000 |
---|---|---|
committer | doug <> | 2015-06-16 06:11:39 +0000 |
commit | d44d9785ffbec94f6960b1a4f5dfd26c3faad092 (patch) | |
tree | 2040b935f078338f2eb1765d8e030f4309014a55 /src/lib/libssl/bytestring.h | |
parent | d2e058fa8506faeba7a5301b70a42926b61b723a (diff) | |
download | openbsd-d44d9785ffbec94f6960b1a4f5dfd26c3faad092.tar.gz openbsd-d44d9785ffbec94f6960b1a4f5dfd26c3faad092.tar.bz2 openbsd-d44d9785ffbec94f6960b1a4f5dfd26c3faad092.zip |
Simplify cbs_get_any_asn1_element_internal based on comments from jsing@
Diffstat (limited to 'src/lib/libssl/bytestring.h')
-rw-r--r-- | src/lib/libssl/bytestring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/bytestring.h b/src/lib/libssl/bytestring.h index d66ab65b91..ef824a0cea 100644 --- a/src/lib/libssl/bytestring.h +++ b/src/lib/libssl/bytestring.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bytestring.h,v 1.7 2015/06/15 07:35:49 doug Exp $ */ | 1 | /* $OpenBSD: bytestring.h,v 1.8 2015/06/16 06:11:39 doug Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014, Google Inc. | 3 | * Copyright (c) 2014, Google Inc. |
4 | * | 4 | * |
@@ -451,7 +451,7 @@ int CBB_add_asn1_uint64(CBB *cbb, uint64_t value); | |||
451 | 451 | ||
452 | #ifdef LIBRESSL_INTERNAL | 452 | #ifdef LIBRESSL_INTERNAL |
453 | /* | 453 | /* |
454 | * CBS_get_any_asn1_element sets |*out| to contain the next ASN.1 element from | 454 | * cbs_get_any_asn1_element sets |*out| to contain the next ASN.1 element from |
455 | * |*cbs| (including header bytes) and advances |*cbs|. It sets |*out_tag| to | 455 | * |*cbs| (including header bytes) and advances |*cbs|. It sets |*out_tag| to |
456 | * the tag number and |*out_header_len| to the length of the ASN.1 header. If | 456 | * the tag number and |*out_header_len| to the length of the ASN.1 header. If |
457 | * strict mode is disabled and the element has indefinite length then |*out| | 457 | * strict mode is disabled and the element has indefinite length then |*out| |