Coverage Report

Created: 2025-11-17 06:18

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/boringssl/crypto/asn1/a_octet.cc
Line
Count
Source
1
// Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
//     https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#include <openssl/asn1.h>
16
17
#include <openssl/err.h>
18
#include <openssl/mem.h>
19
20
0
ASN1_OCTET_STRING *ASN1_OCTET_STRING_dup(const ASN1_OCTET_STRING *x) {
21
0
  return ASN1_STRING_dup(x);
22
0
}
23
24
int ASN1_OCTET_STRING_cmp(const ASN1_OCTET_STRING *a,
25
24
                          const ASN1_OCTET_STRING *b) {
26
24
  return ASN1_STRING_cmp(a, b);
27
24
}
28
29
int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *x, const unsigned char *d,
30
22.1k
                          int len) {
31
22.1k
  return ASN1_STRING_set(x, d, len);
32
22.1k
}