Coverage Report

Created: 2025-09-05 06:13

/src/boringssl/crypto/asn1/a_octet.cc
Line
Count
Source (jump to first uncovered line)
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
4
                          const ASN1_OCTET_STRING *b) {
26
4
  return ASN1_STRING_cmp(a, b);
27
4
}
28
29
int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *x, const unsigned char *d,
30
18.6k
                          int len) {
31
18.6k
  return ASN1_STRING_set(x, d, len);
32
18.6k
}