OpenCoverage

x509_def.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x509_def.c
Source codeSwitch to Preprocessed file
LineSourceCount
1/*-
2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.-
3 *-
4 * Licensed under the OpenSSL license (the "License"). You may not use-
5 * this file except in compliance with the License. You can obtain a copy-
6 * in the file LICENSE in the source distribution or at-
7 * https://www.openssl.org/source/license.html-
8 */-
9-
10#include <stdio.h>-
11#include "internal/cryptlib.h"-
12#include <openssl/crypto.h>-
13#include <openssl/x509.h>-
14-
15const char *X509_get_default_private_dir(void)-
16{-
17 return X509_PRIVATE_DIR;
never executed: return "/usr/local/ssl" "/private";
0
18}-
19-
20const char *X509_get_default_cert_area(void)-
21{-
22 return X509_CERT_AREA;
never executed: return "/usr/local/ssl";
0
23}-
24-
25const char *X509_get_default_cert_dir(void)-
26{-
27 return X509_CERT_DIR;
executed 492 times by 1 test: return "/usr/local/ssl" "/certs";
Executed by:
  • libcrypto.so.1.1
492
28}-
29-
30const char *X509_get_default_cert_file(void)-
31{-
32 return X509_CERT_FILE;
executed 442 times by 1 test: return "/usr/local/ssl" "/cert.pem";
Executed by:
  • libcrypto.so.1.1
442
33}-
34-
35const char *X509_get_default_cert_dir_env(void)-
36{-
37 return X509_CERT_DIR_EVP;
executed 492 times by 1 test: return "SSL_CERT_DIR";
Executed by:
  • libcrypto.so.1.1
492
38}-
39-
40const char *X509_get_default_cert_file_env(void)-
41{-
42 return X509_CERT_FILE_EVP;
executed 442 times by 1 test: return "SSL_CERT_FILE";
Executed by:
  • libcrypto.so.1.1
442
43}-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.2