OpenCoverage

LibreSSL Portable Test Coverage

Functions

Page:<>1
Function: xsyslog
23
Function: tls_peer_ocsp_crl_reason
4
Function: tls_config_set_key_mem
5
Function: tls12_get_sigid
6
Function: ssl_clamp_version_range
...10
Function: parse_bag
...20
Function: des_ede3_cfb8_cipher
...30
Function: X509_NAME_get_text_by_NID
...60
Function: ASN1_OCTET_STRING_cmp
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
tree_evaluate
Name: tree_evaluate
Prototype: static int tree_evaluate(X509_POLICY_TREE *tree)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 600-622
  0.000% (0/15)
145
tree_calculate_user_set
Name: tree_calculate_user_set
Prototype: static int tree_calculate_user_set(X509_POLICY_TREE *tree, struct stack_st_ASN1_OBJECT *policy_oids, struct stack_st_X509_POLICY_NODE *auth_nodes)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 543-598
  0.000% (0/31)
4311
tree_calculate_authority_set
Name: tree_calculate_authority_set
Prototype: static int tree_calculate_authority_set(X509_POLICY_TREE *tree, struct stack_st_X509_POLICY_NODE **pnodes)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 499-541
  0.000% (0/25)
248
tree_add_unmatched
Name: tree_add_unmatched
Prototype: static int tree_add_unmatched(X509_POLICY_LEVEL *curr, const X509_POLICY_CACHE *cache, const ASN1_OBJECT *id, X509_POLICY_NODE *node, X509_POLICY_TREE *tree)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 339-363
  0.000% (0/10)
244
tree_add_auth_node
Name: tree_add_auth_node
Prototype: static int tree_add_auth_node(struct stack_st_X509_POLICY_NODE **pnodes, X509_POLICY_NODE *pcy)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/pcy_tree.c
Lines: 474-488
  0.000% (0/13)
95
traverse_string
Name: traverse_string
Prototype: static int traverse_string(const unsigned char *p, int len, int inform, int (*rfunc)(unsigned long value, void *in), void *arg)
Coverage:  36.364% (12/33)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_mbstr.c
Lines: 263-308
 36.364% (12/33)
3211
transform_3
Name: transform_3
Prototype: static void transform_3(unsigned char *data)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/gostr341194.c
Lines: 89-99
100.000% (1/1)
61
transform
Name: transform
Prototype: static void transform(unsigned long *out, const unsigned long *a, const unsigned long *b)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/gost/streebog.c
Lines: 1187-1210
100.000% (1/1)
171
trans_cb
Name: trans_cb
Prototype: static int trans_cb(int a, int b, BN_GENCB *gcb)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/pmeth_gn.c
Lines: 178-185
  0.000% (0/1)
41
tr_cmp
Name: tr_cmp
Prototype: static int tr_cmp(const X509_TRUST * const *a, const X509_TRUST * const *b)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509/x509_trs.c
Lines: 95-99
  0.000% (0/1)
11
tlsext_srtp_serverhello_parse
Name: tlsext_srtp_serverhello_parse
Prototype: int tlsext_srtp_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  62.963% (17/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1148-1195
 62.963% (17/27)
339
tlsext_srtp_serverhello_needs
Name: tlsext_srtp_serverhello_needs
Prototype: int tlsext_srtp_serverhello_needs(SSL *s)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1118-1122
100.000% (5/5)
51
tlsext_srtp_serverhello_build
Name: tlsext_srtp_serverhello_build
Prototype: int tlsext_srtp_serverhello_build(SSL *s, CBB *cbb)
Coverage:  37.500% (6/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1124-1146
 37.500% (6/16)
156
tlsext_srtp_clienthello_parse
Name: tlsext_srtp_clienthello_parse
Prototype: int tlsext_srtp_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  55.769% (29/52)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1038-1116
 55.769% (29/52)
5718
tlsext_srtp_clienthello_needs
Name: tlsext_srtp_clienthello_needs
Prototype: int tlsext_srtp_clienthello_needs(SSL *s)
Coverage: 100.000% (5/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 995-999
100.000% (5/5)
51
tlsext_srtp_clienthello_build
Name: tlsext_srtp_clienthello_build
Prototype: int tlsext_srtp_clienthello_build(SSL *s, CBB *cbb)
Coverage:  44.000% (11/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1001-1036
 44.000% (11/25)
309
tlsext_sni_serverhello_parse
Name: tlsext_sni_serverhello_parse
Prototype: int tlsext_sni_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  13.115% (8/61)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 677-708
 13.115% (8/61)
22314
tlsext_sni_serverhello_needs
Name: tlsext_sni_serverhello_needs
Prototype: int tlsext_sni_serverhello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 665-669
100.000% (1/1)
51
tlsext_sni_serverhello_build
Name: tlsext_sni_serverhello_build
Prototype: int tlsext_sni_serverhello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 671-675
100.000% (1/1)
11
tlsext_sni_clienthello_parse
Name: tlsext_sni_clienthello_parse
Prototype: int tlsext_sni_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  41.860% (18/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 607-663
 41.860% (18/43)
3914
tlsext_sni_clienthello_needs
Name: tlsext_sni_clienthello_needs
Prototype: int tlsext_sni_clienthello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 581-585
100.000% (1/1)
51
tlsext_sni_clienthello_build
Name: tlsext_sni_clienthello_build
Prototype: int tlsext_sni_clienthello_build(SSL *s, CBB *cbb)
Coverage:  37.500% (6/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 587-605
 37.500% (6/16)
136
tlsext_sigalgs_serverhello_parse
Name: tlsext_sigalgs_serverhello_parse
Prototype: int tlsext_sigalgs_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 571-576
100.000% (1/1)
11
tlsext_sigalgs_serverhello_needs
Name: tlsext_sigalgs_serverhello_needs
Prototype: int tlsext_sigalgs_serverhello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 559-563
100.000% (1/1)
11
tlsext_sigalgs_serverhello_build
Name: tlsext_sigalgs_serverhello_build
Prototype: int tlsext_sigalgs_serverhello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 565-569
100.000% (1/1)
11
tlsext_sigalgs_clienthello_parse
Name: tlsext_sigalgs_clienthello_parse
Prototype: int tlsext_sigalgs_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 548-557
 50.000% (2/4)
42
tlsext_sigalgs_clienthello_needs
Name: tlsext_sigalgs_clienthello_needs
Prototype: int tlsext_sigalgs_clienthello_needs(SSL *s)
Coverage: 100.000% (3/3)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 523-527
100.000% (3/3)
11
tlsext_sigalgs_clienthello_build
Name: tlsext_sigalgs_clienthello_build
Prototype: int tlsext_sigalgs_clienthello_build(SSL *s, CBB *cbb)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 529-546
 40.000% (4/10)
114
tlsext_sessionticket_serverhello_parse
Name: tlsext_sessionticket_serverhello_parse
Prototype: int tlsext_sessionticket_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  33.333% (4/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 967-987
 33.333% (4/12)
154
tlsext_sessionticket_serverhello_needs
Name: tlsext_sessionticket_serverhello_needs
Prototype: int tlsext_sessionticket_serverhello_needs(SSL *s)
Coverage:  80.000% (4/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 952-957
 80.000% (4/5)
61
tlsext_sessionticket_serverhello_build
Name: tlsext_sessionticket_serverhello_build
Prototype: int tlsext_sessionticket_serverhello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 959-965
100.000% (1/1)
11
tlsext_sessionticket_clienthello_parse
Name: tlsext_sessionticket_clienthello_parse
Prototype: int tlsext_sessionticket_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  30.000% (3/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 931-950
 30.000% (3/10)
104
tlsext_sessionticket_clienthello_needs
Name: tlsext_sessionticket_clienthello_needs
Prototype: int tlsext_sessionticket_clienthello_needs(SSL *s)
Coverage:  83.333% (10/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 867-886
 83.333% (10/12)
184
tlsext_sessionticket_clienthello_build
Name: tlsext_sessionticket_clienthello_build
Prototype: int tlsext_sessionticket_clienthello_build(SSL *s, CBB *cbb)
Coverage:  62.963% (17/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 888-929
 62.963% (17/27)
299
tlsext_serverhello_reset_state
Name: tlsext_serverhello_reset_state
Prototype: static void tlsext_serverhello_reset_state(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1455-1461
100.000% (1/1)
71
tlsext_serverhello_parse
Name: tlsext_serverhello_parse
Prototype: int tlsext_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1469-1476
100.000% (1/1)
21
tlsext_serverhello_build
Name: tlsext_serverhello_build
Prototype: int tlsext_serverhello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1463-1467
100.000% (1/1)
11
tlsext_ri_serverhello_parse
Name: tlsext_ri_serverhello_parse
Prototype: int tlsext_ri_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  50.000% (16/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 466-518
 50.000% (16/32)
3510
tlsext_ri_serverhello_needs
Name: tlsext_ri_serverhello_needs
Prototype: int tlsext_ri_serverhello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 441-445
100.000% (1/1)
11
tlsext_ri_serverhello_build
Name: tlsext_ri_serverhello_build
Prototype: int tlsext_ri_serverhello_build(SSL *s, CBB *cbb)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 447-464
 38.462% (5/13)
125
tlsext_ri_clienthello_parse
Name: tlsext_ri_clienthello_parse
Prototype: int tlsext_ri_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  54.545% (6/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 413-439
 54.545% (6/11)
165
tlsext_ri_clienthello_needs
Name: tlsext_ri_clienthello_needs
Prototype: int tlsext_ri_clienthello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 391-395
100.000% (1/1)
11
tlsext_ri_clienthello_build
Name: tlsext_ri_clienthello_build
Prototype: int tlsext_ri_clienthello_build(SSL *s, CBB *cbb)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 397-411
 40.000% (4/10)
94
tlsext_parse
Name: tlsext_parse
Prototype: static int tlsext_parse(SSL *s, CBS *cbs, int *alert, int is_serverhello)
Coverage:  74.194% (23/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1379-1427
 74.194% (23/31)
3511
tlsext_ocsp_serverhello_parse
Name: tlsext_ocsp_serverhello_parse
Prototype: int tlsext_ocsp_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 852-862
  0.000% (0/4)
52
tlsext_ocsp_serverhello_needs
Name: tlsext_ocsp_serverhello_needs
Prototype: int tlsext_ocsp_serverhello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 840-844
100.000% (1/1)
11
tlsext_ocsp_serverhello_build
Name: tlsext_ocsp_serverhello_build
Prototype: int tlsext_ocsp_serverhello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 846-850
100.000% (1/1)
11
tlsext_ocsp_clienthello_parse
Name: tlsext_ocsp_clienthello_parse
Prototype: int tlsext_ocsp_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  23.404% (11/47)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 766-838
 23.404% (11/47)
6717
tlsext_ocsp_clienthello_needs
Name: tlsext_ocsp_clienthello_needs
Prototype: int tlsext_ocsp_clienthello_needs(SSL *s)
Coverage:  80.000% (4/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 715-720
 80.000% (4/5)
21
tlsext_ocsp_clienthello_build
Name: tlsext_ocsp_clienthello_build
Prototype: int tlsext_ocsp_clienthello_build(SSL *s, CBB *cbb)
Coverage:  22.500% (9/40)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 722-764
 22.500% (9/40)
4614
tlsext_ecpf_serverhello_parse
Name: tlsext_ecpf_serverhello_parse
Prototype: int tlsext_ecpf_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 382-386
100.000% (1/1)
11
tlsext_ecpf_serverhello_needs
Name: tlsext_ecpf_serverhello_needs
Prototype: int tlsext_ecpf_serverhello_needs(SSL *s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 367-374
100.000% (4/4)
32
tlsext_ecpf_serverhello_build
Name: tlsext_ecpf_serverhello_build
Prototype: int tlsext_ecpf_serverhello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 376-380
100.000% (1/1)
11
tlsext_ecpf_parse
Name: tlsext_ecpf_parse
Prototype: static int tlsext_ecpf_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  55.000% (11/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 316-347
 55.000% (11/20)
188
tlsext_ecpf_clienthello_parse
Name: tlsext_ecpf_clienthello_parse
Prototype: int tlsext_ecpf_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 361-365
100.000% (1/1)
11
tlsext_ecpf_clienthello_needs
Name: tlsext_ecpf_clienthello_needs
Prototype: int tlsext_ecpf_clienthello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 349-353
100.000% (1/1)
11
tlsext_ecpf_clienthello_build
Name: tlsext_ecpf_clienthello_build
Prototype: int tlsext_ecpf_clienthello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 355-359
100.000% (1/1)
11
tlsext_ecpf_build
Name: tlsext_ecpf_build
Prototype: static int tlsext_ecpf_build(SSL *s, CBB *cbb)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 292-314
 38.462% (5/13)
145
tlsext_ec_serverhello_parse
Name: tlsext_ec_serverhello_parse
Prototype: int tlsext_ec_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 268-287
  0.000% (0/4)
42
tlsext_ec_serverhello_needs
Name: tlsext_ec_serverhello_needs
Prototype: int tlsext_ec_serverhello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 256-260
100.000% (1/1)
11
tlsext_ec_serverhello_build
Name: tlsext_ec_serverhello_build
Prototype: int tlsext_ec_serverhello_build(SSL *s, CBB *cbb)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 262-266
  0.000% (0/1)
11
tlsext_ec_clienthello_parse
Name: tlsext_ec_clienthello_parse
Prototype: int tlsext_ec_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  45.161% (14/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 203-253
 45.161% (14/31)
3911
tlsext_ec_clienthello_needs
Name: tlsext_ec_clienthello_needs
Prototype: int tlsext_ec_clienthello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 168-172
100.000% (1/1)
11
tlsext_ec_clienthello_build
Name: tlsext_ec_clienthello_build
Prototype: int tlsext_ec_clienthello_build(SSL *s, CBB *cbb)
Coverage:  50.000% (8/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 174-201
 50.000% (8/16)
166
tlsext_clienthello_reset_state
Name: tlsext_clienthello_reset_state
Prototype: static void tlsext_clienthello_reset_state(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1429-1438
100.000% (1/1)
141
tlsext_clienthello_parse
Name: tlsext_clienthello_parse
Prototype: int tlsext_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1446-1453
100.000% (1/1)
21
tlsext_clienthello_build
Name: tlsext_clienthello_build
Prototype: int tlsext_clienthello_build(SSL *s, CBB *cbb)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1440-1444
100.000% (1/1)
11
tlsext_build
Name: tlsext_build
Prototype: static int tlsext_build(SSL *s, CBB *cbb, int is_serverhello)
Coverage:  60.000% (15/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 1341-1377
 60.000% (15/25)
239
tlsext_alpn_serverhello_parse
Name: tlsext_alpn_serverhello_parse
Prototype: int tlsext_alpn_serverhello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  91.304% (21/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 131-163
 91.304% (21/23)
229
tlsext_alpn_serverhello_needs
Name: tlsext_alpn_serverhello_needs
Prototype: int tlsext_alpn_serverhello_needs(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 104-108
100.000% (1/1)
51
tlsext_alpn_serverhello_build
Name: tlsext_alpn_serverhello_build
Prototype: int tlsext_alpn_serverhello_build(SSL *s, CBB *cbb)
Coverage:  38.462% (5/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 110-129
 38.462% (5/13)
115
tlsext_alpn_clienthello_parse
Name: tlsext_alpn_clienthello_parse
Prototype: int tlsext_alpn_clienthello_parse(SSL *s, CBS *cbs, int *alert)
Coverage:  86.207% (25/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 56-102
 86.207% (25/29)
3611
tlsext_alpn_clienthello_needs
Name: tlsext_alpn_clienthello_needs
Prototype: int tlsext_alpn_clienthello_needs(SSL *s)
Coverage:  80.000% (4/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 30-36
 80.000% (4/5)
61
tlsext_alpn_clienthello_build
Name: tlsext_alpn_clienthello_build
Prototype: int tlsext_alpn_clienthello_build(SSL *s, CBB *cbb)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/ssl_tlsext.c
Lines: 38-54
 40.000% (4/10)
94
tls_write
Name: tls_write
Prototype: ssize_t tls_write(struct tls *ctx, const void *buf, size_t buflen)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 738-767
  0.000% (0/14)
186
tls_unload_file
Name: tls_unload_file
Prototype: void tls_unload_file(uint8_t *buf, size_t len)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_util.c
Lines: 220-224
  0.000% (0/1)
11
tls_ssl_error
Name: tls_ssl_error
Prototype: int tls_ssl_error(struct tls *ctx, SSL *ssl_conn, int ssl_ret, const char *prefix)
Coverage:  12.903% (4/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 621-669
 12.903% (4/31)
3716
tls_ssl_cert_verify_cb
Name: tls_ssl_cert_verify_cb
Prototype: static int tls_ssl_cert_verify_cb(X509_STORE_CTX *x509_ctx, void *arg)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 454-476
 40.000% (4/10)
134
tls_sni_ctx_new
Name: tls_sni_ctx_new
Prototype: struct tls_sni_ctx * tls_sni_ctx_new(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 217-221
  0.000% (0/1)
11
tls_sni_ctx_free
Name: tls_sni_ctx_free
Prototype: void tls_sni_ctx_free(struct tls_sni_ctx *sni_ctx)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 223-233
  0.000% (0/4)
72
tls_set_string
Name: tls_set_string
Prototype: int tls_set_string(const char **dest, const char *src)
Coverage:  26.667% (4/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_util.c
Lines: 57-66
 26.667% (4/15)
464
tls_set_ssl_errorx
Name: tls_set_ssl_errorx
Prototype: int tls_set_ssl_errorx(struct tls *ctx, const char *fmt, ...)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 200-215
  0.000% (0/4)
242
tls_set_mem
Name: tls_set_mem
Prototype: int tls_set_mem(char **dest, size_t *destlen, const void *src, size_t srclen)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_util.c
Lines: 44-55
 50.000% (3/6)
163
tls_set_errorx
Name: tls_set_errorx
Prototype: int tls_set_errorx(struct tls *ctx, const char *fmt, ...)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 187-198
100.000% (1/1)
221
tls_set_error
Name: tls_set_error
Prototype: int tls_set_error(struct tls *ctx, const char *fmt, ...)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 172-185
  0.000% (0/1)
271
tls_set_cbs
Name: tls_set_cbs
Prototype: int tls_set_cbs(struct tls *ctx, tls_read_cb read_cb, tls_write_cb write_cb, void *cb_arg)
Coverage:  50.000% (5/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_bio_cb.c
Lines: 114-143
 50.000% (5/10)
244
tls_servername_cb
Name: tls_servername_cb
Prototype: static int tls_servername_cb(SSL *ssl, int *al, void *arg)
Coverage:  23.529% (8/34)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 77-136
 23.529% (8/34)
7710
tls_server_ticket_key
Name: tls_server_ticket_key
Prototype: static struct tls_ticket_key * tls_server_ticket_key(struct tls_config *config, unsigned char *keyname)
Coverage:  0.000% (0/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 138-164
  0.000% (0/21)
347
tls_server_ticket_cb
Name: tls_server_ticket_cb
Prototype: static int tls_server_ticket_cb(SSL *ssl, unsigned char *keyname, unsigned char *iv, EVP_CIPHER_CTX *ctx, HMAC_CTX *hctx, int mode)
Coverage:  0.000% (0/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 166-207
  0.000% (0/16)
526
tls_server_conn
Name: tls_server_conn
Prototype: struct tls * tls_server_conn(struct tls *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 45-61
 50.000% (2/4)
142
tls_server_alpn_cb
Name: tls_server_alpn_cb
Prototype: static int tls_server_alpn_cb(SSL *ssl, const unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 63-75
  0.000% (0/4)
62
tls_server
Name: tls_server
Prototype: struct tls * tls_server(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_server.c
Lines: 29-43
 42.857% (3/7)
173
tls_reset
Name: tls_reset
Prototype: void tls_reset(struct tls *ctx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 576-619
 50.000% (2/4)
832
tls_read
Name: tls_read
Prototype: ssize_t tls_read(struct tls *ctx, void *buf, size_t buflen)
Coverage:  0.000% (0/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls.c
Lines: 707-736
  0.000% (0/14)
186
tls_peer_ocsp_url
Name: tls_peer_ocsp_url
Prototype: const char * tls_peer_ocsp_url(struct tls *ctx)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 367-373
  0.000% (0/4)
92
tls_peer_ocsp_this_update
Name: tls_peer_ocsp_this_update
Prototype: time_t tls_peer_ocsp_this_update(struct tls *ctx)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 415-423
  0.000% (0/7)
93
tls_peer_ocsp_revocation_time
Name: tls_peer_ocsp_revocation_time
Prototype: time_t tls_peer_ocsp_revocation_time(struct tls *ctx)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 435-443
  0.000% (0/7)
93
tls_peer_ocsp_result
Name: tls_peer_ocsp_result
Prototype: const char * tls_peer_ocsp_result(struct tls *ctx)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 375-383
  0.000% (0/7)
173
tls_peer_ocsp_response_status
Name: tls_peer_ocsp_response_status
Prototype: int tls_peer_ocsp_response_status(struct tls *ctx)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 385-393
  0.000% (0/7)
93
tls_peer_ocsp_next_update
Name: tls_peer_ocsp_next_update
Prototype: time_t tls_peer_ocsp_next_update(struct tls *ctx)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/libressl/src/tls/tls_ocsp.c
Lines: 425-433
  0.000% (0/7)
93
Page:<>1
Function: xsyslog
23
Function: tls_peer_ocsp_crl_reason
4
Function: tls_config_set_key_mem
5
Function: tls12_get_sigid
6
Function: ssl_clamp_version_range
...10
Function: parse_bag
...20
Function: des_ede3_cfb8_cipher
...30
Function: X509_NAME_get_text_by_NID
...60
Function: ASN1_OCTET_STRING_cmp

Generated by Squish Coco 4.2.2