diff options
| author | doug <> | 2015-06-16 06:11:39 +0000 |
|---|---|---|
| committer | doug <> | 2015-06-16 06:11:39 +0000 |
| commit | 9df3ee5634f566b673844ce7c87d9cd5481d92c7 (patch) | |
| tree | 2040b935f078338f2eb1765d8e030f4309014a55 /src/lib/libssl/bytestring.h | |
| parent | b63862470b56a5ae6405305bdfa7fd962f6c5d7a (diff) | |
| download | openbsd-9df3ee5634f566b673844ce7c87d9cd5481d92c7.tar.gz openbsd-9df3ee5634f566b673844ce7c87d9cd5481d92c7.tar.bz2 openbsd-9df3ee5634f566b673844ce7c87d9cd5481d92c7.zip | |
Simplify cbs_get_any_asn1_element_internal based on comments from jsing@
Diffstat (limited to '')
| -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| |
