OpenCoverage

OpenSSL Test Coverage

Function Tree

Page:<>1
Function: xsyslog
2
Function: uint64_clear
3
Function: tls_process_new_session_ticket
4
Function: tls_construct_new_session_ticket
5
Function: tls13_update_key
67
Function: ssl_cert_set_cert_cb
8
Function: sn_cmp_BSEARCH_CMP_FN
9
Function: sk_danetls_record_new
10
Function: sk_X509_REVOKED_free
...20
Function: sk_NAME_FUNCS_pop_free
...30
Function: siphash_signctx_init
...100
Function: BIO_ctrl_get_write_guarantee
...103
Function: ACCESS_DESCRIPTION_free
Functionâ–ľCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
ssl_set_masks
Name: ssl_set_masks
Prototype: void ssl_set_masks(SSL *s)
Coverage:  79.012% (64/81)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3209-3322
 79.012% (64/81)
7117
ssl_set_client_hello_version
Name: ssl_set_client_hello_version
Prototype: int ssl_set_client_hello_version(SSL *s)
Coverage:  92.857% (13/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 2090-2114
 92.857% (13/14)
154
ssl_set_client_disabled
Name: ssl_set_client_disabled
Prototype: int ssl_set_client_disabled(SSL *s)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 1100-1122
 80.000% (8/10)
174
ssl_set_cert_and_key
Name: ssl_set_cert_and_key
Prototype: static int ssl_set_cert_and_key(SSL *ssl, SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey, struct stack_st_X509 *chain, int override)
Coverage:  0.000% (0/55)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_rsa.c
Lines: 1039-1136
  0.000% (0/55)
9216
ssl_set_cert
Name: ssl_set_cert
Prototype: static int ssl_set_cert(CERT *c, X509 *x)
Coverage:  56.522% (13/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_rsa.c
Lines: 316-374
 56.522% (13/23)
377
ssl_session_strndup
Name: ssl_session_strndup
Prototype: static int ssl_session_strndup(char **pdst, ASN1_OCTET_STRING *src)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_asn1.c
Lines: 211-221
 71.429% (5/7)
163
ssl_session_sinit
Name: ssl_session_sinit
Prototype: static void ssl_session_sinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, char *data)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_asn1.c
Lines: 95-102
100.000% (4/4)
92
ssl_session_oinit
Name: ssl_session_oinit
Prototype: static void ssl_session_oinit(ASN1_OCTET_STRING **dest, ASN1_OCTET_STRING *os, unsigned char *data, size_t len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_asn1.c
Lines: 85-92
100.000% (1/1)
41
ssl_session_memcpy
Name: ssl_session_memcpy
Prototype: static int ssl_session_memcpy(unsigned char *dst, size_t *pdstlen, ASN1_OCTET_STRING *src, size_t maxlen)
Coverage:  88.889% (8/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_asn1.c
Lines: 225-237
 88.889% (8/9)
103
ssl_session_hash
Name: ssl_session_hash
Prototype: static unsigned long ssl_session_hash(const SSL_SESSION *a)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2835-2853
100.000% (4/4)
132
ssl_session_dup
Name: ssl_session_dup
Prototype: SSL_SESSION *ssl_session_dup(SSL_SESSION *src, int ticket)
Coverage:  52.809% (47/89)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_sess.c
Lines: 106-252
 52.809% (47/89)
20930
ssl_session_cmp
Name: ssl_session_cmp
Prototype: static int ssl_session_cmp(const SSL_SESSION *a, const SSL_SESSION *b)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2862-2869
 71.429% (5/7)
53
ssl_security_default_callback
Name: ssl_security_default_callback
Prototype: static int ssl_security_default_callback(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex)
Coverage:  58.427% (52/89)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 909-990
 58.427% (52/89)
4626
ssl_security_cert_sig
Name: ssl_security_cert_sig
Prototype: static int ssl_security_cert_sig(SSL *s, SSL_CTX *ctx, X509 *x, int op)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2403-2419
 69.231% (9/13)
145
ssl_security_cert_key
Name: ssl_security_cert_key
Prototype: static int ssl_security_cert_key(SSL *s, SSL_CTX *ctx, X509 *x, int op)
Coverage:  85.714% (6/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2384-2401
 85.714% (6/7)
73
ssl_security_cert_chain
Name: ssl_security_cert_chain
Prototype: int ssl_security_cert_chain(SSL *s, struct stack_st_X509 *sk, X509 *x, int vfy)
Coverage:  71.429% (10/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2443-2463
 71.429% (10/14)
245
ssl_security_cert
Name: ssl_security_cert
Prototype: int ssl_security_cert(SSL *s, SSL_CTX *ctx, X509 *x, int vfy, int is_ee)
Coverage:  52.941% (9/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2421-2435
 52.941% (9/17)
106
ssl_security
Name: ssl_security
Prototype: int ssl_security(const SSL *s, int op, int bits, int nid, void *other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 992-995
100.000% (1/1)
51
ssl_replace_hash
Name: ssl_replace_hash
Prototype: EVP_MD_CTX *ssl_replace_hash(EVP_MD_CTX **hash, const EVP_MD *md)
Coverage:  37.500% (3/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 4383-4393
 37.500% (3/8)
232
ssl_read_internal
Name: ssl_read_internal
Prototype: int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes)
Coverage:  47.059% (8/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 1714-1753
 47.059% (8/17)
275
ssl_read
Name: ssl_read
Prototype: static int ssl_read(BIO *b, char *buf, size_t size, size_t *readbytes)
Coverage:  40.000% (14/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/bio_ssl.c
Lines: 92-160
 40.000% (14/35)
4916
ssl_puts
Name: ssl_puts
Prototype: static int ssl_puts(BIO *bp, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/bio_ssl.c
Lines: 412-419
  0.000% (0/1)
41
ssl_protocol_to_string
Name: ssl_protocol_to_string
Prototype: const char *ssl_protocol_to_string(int version)
Coverage:  66.667% (12/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3622-3653
 66.667% (12/18)
1010
ssl_prf_md
Name: ssl_prf_md
Prototype: const EVP_MD *ssl_prf_md(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 597-600
100.000% (1/1)
11
ssl_peek_internal
Name: ssl_peek_internal
Prototype: static int ssl_peek_internal(SSL *s, void *buf, size_t num, size_t *readbytes)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 1846-1872
  0.000% (0/12)
214
ssl_next_proto_validate
Name: ssl_next_proto_validate
Prototype: static int ssl_next_proto_validate(SSL *s, PACKET *pkt)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/extensions_clnt.c
Lines: 1538-1552
 66.667% (6/9)
143
ssl_new
Name: ssl_new
Prototype: static int ssl_new(BIO *bi)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/bio_ssl.c
Lines: 56-70
 50.000% (2/4)
102
ssl_module_init
Name: ssl_module_init
Prototype: static int ssl_module_init(CONF_IMODULE *md, const CONF *cnf)
Coverage:  47.826% (22/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/conf/conf_ssl.c
Lines: 61-128
 47.826% (22/46)
10013
ssl_module_free
Name: ssl_module_free
Prototype: static void ssl_module_free(CONF_IMODULE *md)
Coverage: 100.000% (10/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/conf/conf_ssl.c
Lines: 41-59
100.000% (10/10)
194
ssl_method_error
Name: ssl_method_error
Prototype: static int ssl_method_error(const SSL *s, const SSL_METHOD *method)
Coverage:  95.238% (20/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1469-1488
 95.238% (20/21)
175
ssl_md
Name: ssl_md
Prototype: const EVP_MD *ssl_md(int idx)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 584-590
 50.000% (3/6)
82
ssl_match_option
Name: ssl_match_option
Prototype: static int ssl_match_option(SSL_CONF_CTX *cctx, const ssl_flag_tbl *tbl, const char *name, int namelen, int onoff)
Coverage:  22.222% (10/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_conf.c
Lines: 137-150
 22.222% (10/45)
16911
ssl_log_secret
Name: ssl_log_secret
Prototype: int ssl_log_secret(SSL *ssl, const char *label, const uint8_t *secret, size_t secret_len)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 5170-5181
100.000% (1/1)
61
ssl_log_rsa_client_key_exchange
Name: ssl_log_rsa_client_key_exchange
Prototype: int ssl_log_rsa_client_key_exchange(SSL *ssl, const uint8_t *encrypted_premaster, size_t encrypted_premaster_len, const uint8_t *premaster, size_t premaster_len)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 5149-5168
 50.000% (2/4)
162
ssl_load_ciphers
Name: ssl_load_ciphers
Prototype: int ssl_load_ciphers(void)
Coverage:  68.889% (31/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 355-447
 68.889% (31/45)
6215
ssl_library_stop
Name: ssl_library_stop
Prototype: static void ssl_library_stop(void)
Coverage:  70.000% (7/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_init.c
Lines: 143-173
 70.000% (7/10)
74
ssl_io_intern
Name: ssl_io_intern
Prototype: static int ssl_io_intern(void *vargs)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 1692-1712
  0.000% (0/7)
134
ssl_init_wbio_buffer
Name: ssl_init_wbio_buffer
Prototype: int ssl_init_wbio_buffer(SSL *s)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3867-3886
 66.667% (6/9)
173
ssl_has_cert
Name: ssl_has_cert
Prototype: static inline int ssl_has_cert(const SSL *s, int idx)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_locl.h
Lines: 2219-2225
 60.000% (6/10)
122
ssl_handshake_md
Name: ssl_handshake_md
Prototype: const EVP_MD *ssl_handshake_md(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 592-595
100.000% (1/1)
11
ssl_handshake_hash
Name: ssl_handshake_hash
Prototype: int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen, size_t *hashlen)
Coverage:  46.667% (7/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 4403-4434
 46.667% (7/15)
425
ssl_get_split_send_fragment
Name: ssl_get_split_send_fragment
Prototype: unsigned int ssl_get_split_send_fragment(const SSL *ssl)
Coverage:  76.923% (10/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 5415-5428
 76.923% (10/13)
103
ssl_get_server_cert_serverinfo
Name: ssl_get_server_cert_serverinfo
Prototype: int ssl_get_server_cert_serverinfo(SSL *s, const unsigned char **serverinfo, size_t *serverinfo_length)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3341-3353
 50.000% (3/6)
132
ssl_get_prev_session
Name: ssl_get_prev_session
Prototype: int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello)
Coverage:  79.268% (65/82)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_sess.c
Lines: 528-663
 79.268% (65/82)
13526
ssl_get_new_session
Name: ssl_get_new_session
Prototype: int ssl_get_new_session(SSL *s, int session)
Coverage:  67.857% (19/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_sess.c
Lines: 390-445
 67.857% (19/28)
528
ssl_get_min_max_version
Name: ssl_get_min_max_version
Prototype: int ssl_get_min_max_version(const SSL *s, int *min_version, int *max_version, int *real_max)
Coverage:  92.105% (35/38)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1983-2080
 92.105% (35/38)
6213
ssl_get_max_send_fragment
Name: ssl_get_max_send_fragment
Prototype: unsigned int ssl_get_max_send_fragment(const SSL *ssl)
Coverage:  87.500% (7/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 5405-5413
 87.500% (7/8)
72
ssl_get_ciphers_by_id
Name: ssl_get_ciphers_by_id
Prototype: struct stack_st_SSL_CIPHER *ssl_get_ciphers_by_id(SSL *s)
Coverage:  58.333% (7/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2472-2482
 58.333% (7/12)
224
ssl_get_cipher_by_char
Name: ssl_get_cipher_by_char
Prototype: const SSL_CIPHER *ssl_get_cipher_by_char(SSL *ssl, const unsigned char *ptr, int all)
Coverage:  87.500% (7/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 2035-2043
 87.500% (7/8)
122
ssl_get_auto_dh
Name: ssl_get_auto_dh
Prototype: DH *ssl_get_auto_dh(SSL *s)
Coverage:  32.432% (12/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2339-2381
 32.432% (12/37)
7211
ssl_get_algorithm2
Name: ssl_get_algorithm2
Prototype: long ssl_get_algorithm2(SSL *s)
Coverage:  72.222% (13/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4531-4545
 72.222% (13/18)
176
ssl_generate_session_id
Name: ssl_generate_session_id
Prototype: int ssl_generate_session_id(SSL *s, SSL_SESSION *ss)
Coverage:  53.125% (17/32)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_sess.c
Lines: 308-388
 53.125% (17/32)
6016
ssl_generate_pkey_group
Name: ssl_generate_pkey_group
Prototype: EVP_PKEY *ssl_generate_pkey_group(SSL *s, uint16_t id)
Coverage:  56.522% (13/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4679-4722
 56.522% (13/23)
908
ssl_generate_pkey
Name: ssl_generate_pkey
Prototype: EVP_PKEY *ssl_generate_pkey(EVP_PKEY *pm)
Coverage:  42.857% (6/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4656-4676
 42.857% (6/14)
386
ssl_generate_param_group
Name: ssl_generate_param_group
Prototype: EVP_PKEY *ssl_generate_param_group(uint16_t id)
Coverage:  48.000% (12/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4727-4759
 48.000% (12/25)
559
ssl_generate_master_secret
Name: ssl_generate_master_secret
Prototype: int ssl_generate_master_secret(SSL *s, unsigned char *pms, size_t pmslen, int free_pms)
Coverage:  80.645% (25/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4587-4653
 80.645% (25/31)
5011
ssl_free_wbio_buffer
Name: ssl_free_wbio_buffer
Prototype: int ssl_free_wbio_buffer(SSL *s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3888-3899
100.000% (4/4)
122
ssl_free
Name: ssl_free
Prototype: static int ssl_free(BIO *a)
Coverage:  69.231% (9/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/bio_ssl.c
Lines: 72-90
 69.231% (9/13)
175
ssl_fill_hello_random
Name: ssl_fill_hello_random
Prototype: int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, size_t len, DOWNGRADE dgrd)
Coverage:  69.231% (18/26)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4551-4585
 69.231% (18/26)
278
ssl_do_handshake_intern
Name: ssl_do_handshake_intern
Prototype: static int ssl_do_handshake_intern(void *vargs)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3542-3551
  0.000% (0/1)
51
ssl_do_config
Name: ssl_do_config
Prototype: static int ssl_do_config(SSL *s, SSL_CTX *ctx, const char *name, int system)
Coverage:  65.217% (30/46)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_mcnf.c
Lines: 23-84
 65.217% (30/46)
6514
ssl_do_client_cert_cb
Name: ssl_do_client_cert_cb
Prototype: int ssl_do_client_cert_cb(SSL *s, X509 **px509, EVP_PKEY **ppkey)
Coverage:  30.000% (3/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_clnt.c
Lines: 3697-3712
 30.000% (3/10)
224
ssl_dh_to_pkey
Name: ssl_dh_to_pkey
Prototype: EVP_PKEY *ssl_dh_to_pkey(DH *dh)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4832-4843
 42.857% (3/7)
183
ssl_derive
Name: ssl_derive
Prototype: int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey, int gensecret)
Coverage:  69.231% (27/39)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4763-4829
 69.231% (27/39)
969
ssl_dane_dup
Name: ssl_dane_dup
Prototype: static int ssl_dane_dup(SSL *to, SSL *from)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 209-236
  0.000% (0/15)
285
ssl_ctx_system_config
Name: ssl_ctx_system_config
Prototype: void ssl_ctx_system_config(SSL_CTX *ctx)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_mcnf.c
Lines: 96-99
100.000% (1/1)
91
ssl_ctx_security
Name: ssl_ctx_security
Prototype: int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid, void *other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 997-1001
100.000% (1/1)
61
ssl_ctx_make_profiles
Name: ssl_ctx_make_profiles
Prototype: static int ssl_ctx_make_profiles(const char *profiles_string, struct stack_st_SRTP_PROTECTION_PROFILE **out)
Coverage:  0.000% (0/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/d1_srtp.c
Lines: 61-110
  0.000% (0/27)
648
ssl_ctrl
Name: ssl_ctrl
Prototype: static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr)
Coverage:  28.440% (31/109)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/bio_ssl.c
Lines: 224-391
 28.440% (31/109)
15843
ssl_create_cipher_list
Name: ssl_create_cipher_list
Prototype: struct stack_st_SSL_CIPHER *ssl_create_cipher_list(const SSL_METHOD *ssl_method, struct stack_st_SSL_CIPHER *tls13_ciphersuites, struct stack_st_SSL_CIPHER **cipher_list, struct stack_st_SSL_CIPHER **cipher_list_by_id, const char *rule_str, CERT *c)
Coverage:  35.789% (34/95)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 1400-1632
 35.789% (34/95)
37923
ssl_conf_cmd_skip_prefix
Name: ssl_conf_cmd_skip_prefix
Prototype: static int ssl_conf_cmd_skip_prefix(SSL_CONF_CTX *cctx, const char **pcmd)
Coverage:  25.714% (18/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_conf.c
Lines: 716-737
 25.714% (18/70)
21914
ssl_conf_cmd_lookup
Name: ssl_conf_cmd_lookup
Prototype: static const ssl_conf_cmd_tbl *ssl_conf_cmd_lookup(SSL_CONF_CTX *cctx, const char *cmd)
Coverage:  39.286% (22/56)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_conf.c
Lines: 754-776
 39.286% (22/56)
18714
ssl_conf_cmd_allowed
Name: ssl_conf_cmd_allowed
Prototype: static int ssl_conf_cmd_allowed(SSL_CONF_CTX *cctx, const ssl_conf_cmd_tbl * t)
Coverage:  62.500% (10/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_conf.c
Lines: 740-752
 62.500% (10/16)
104
ssl_comp_free_compression_methods_int
Name: ssl_comp_free_compression_methods_int
Prototype: void ssl_comp_free_compression_methods_int(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 1951-1956
100.000% (1/1)
71
ssl_clear_hash_ctx
Name: ssl_clear_hash_ctx
Prototype: void ssl_clear_hash_ctx(EVP_MD_CTX **hash)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 4395-4400
100.000% (1/1)
61
ssl_clear_cipher_ctx
Name: ssl_clear_cipher_ctx
Prototype: void ssl_clear_cipher_ctx(SSL *s)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3787-3803
100.000% (7/7)
303
ssl_clear_bad_session
Name: ssl_clear_bad_session
Prototype: int ssl_clear_bad_session(SSL *s)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_sess.c
Lines: 1124-1133
 90.000% (9/10)
102
ssl_cipher_strength_sort
Name: ssl_cipher_strength_sort
Prototype: static int ssl_cipher_strength_sort(CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p)
Coverage:  82.609% (19/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 907-953
 82.609% (19/23)
308
ssl_cipher_ptr_id_cmp
Name: ssl_cipher_ptr_id_cmp
Prototype: int ssl_cipher_ptr_id_cmp(const SSL_CIPHER *const *ap, const SSL_CIPHER *const *bp)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2413-2421
100.000% (7/7)
53
ssl_cipher_process_rulestr
Name: ssl_cipher_process_rulestr
Prototype: static int ssl_cipher_process_rulestr(const char *rule_str, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p, const SSL_CIPHER **ca_list, CERT *c)
Coverage:  33.442% (103/308)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 955-1217
 33.442% (103/308)
75865
ssl_cipher_list_to_bytes
Name: ssl_cipher_list_to_bytes
Prototype: int ssl_cipher_list_to_bytes(SSL *s, struct stack_st_SSL_CIPHER *sk, WPACKET *pkt)
Coverage:  74.648% (53/71)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_clnt.c
Lines: 3714-3819
 74.648% (53/71)
9119
ssl_cipher_info_find
Name: ssl_cipher_info_find
Prototype: static int ssl_cipher_info_find(const ssl_cipher_table * table, size_t table_cnt, uint32_t mask)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 148-157
100.000% (7/7)
53
ssl_cipher_id_cmp_BSEARCH_CMP_FN
Name: ssl_cipher_id_cmp_BSEARCH_CMP_FN
Prototype: static int ssl_cipher_id_cmp_BSEARCH_CMP_FN(const void *a_, const void *b_)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 4567-4567
100.000% (1/1)
11
ssl_cipher_id_cmp
Name: ssl_cipher_id_cmp
Prototype: int ssl_cipher_id_cmp(const SSL_CIPHER *a, const SSL_CIPHER *b)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 2404-2411
100.000% (7/7)
53
ssl_cipher_get_overhead
Name: ssl_cipher_get_overhead
Prototype: int ssl_cipher_get_overhead(const SSL_CIPHER *c, size_t *mac_overhead, size_t *int_overhead, size_t *blocksize, size_t *ext_overhead)
Coverage:  75.000% (21/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 2102-2152
 75.000% (21/28)
369
ssl_cipher_get_evp
Name: ssl_cipher_get_evp
Prototype: int ssl_cipher_get_evp(const SSL_SESSION *s, const EVP_CIPHER **enc, const EVP_MD **md, int *mac_pkey_type, size_t *mac_secret_size, SSL_COMP **comp, int use_etm)
Coverage:  64.078% (66/103)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 484-582
 64.078% (66/103)
14223
ssl_cipher_disabled
Name: ssl_cipher_disabled
Prototype: int ssl_cipher_disabled(SSL *s, const SSL_CIPHER *c, int op, int ecdhe)
Coverage:  88.571% (31/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 1133-1159
 88.571% (31/35)
167
ssl_cipher_collect_ciphers
Name: ssl_cipher_collect_ciphers
Prototype: static void ssl_cipher_collect_ciphers(const SSL_METHOD *ssl_method, int num_of_ciphers, uint32_t disabled_mkey, uint32_t disabled_auth, uint32_t disabled_enc, uint32_t disabled_mac, CIPHER_ORDER *co_list, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p)
Coverage:  67.568% (25/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 639-707
 67.568% (25/37)
549
ssl_cipher_collect_aliases
Name: ssl_cipher_collect_aliases
Prototype: static void ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, int num_of_group_aliases, uint32_t disabled_mkey, uint32_t disabled_auth, uint32_t disabled_enc, uint32_t disabled_mac, CIPHER_ORDER *head)
Coverage: 100.000% (27/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 709-769
100.000% (27/27)
3911
ssl_cipher_apply_rule
Name: ssl_cipher_apply_rule
Prototype: static void ssl_cipher_apply_rule(uint32_t cipher_id, uint32_t alg_mkey, uint32_t alg_auth, uint32_t alg_enc, uint32_t alg_mac, int min_tls, uint32_t algo_strength, int rule, int32_t strength_bits, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p)
Coverage:  93.396% (99/106)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 771-905
 93.396% (99/106)
8929
ssl_choose_server_version
Name: ssl_choose_server_version
Prototype: int ssl_choose_server_version(SSL *s, CLIENTHELLO_MSG *hello, DOWNGRADE *dgrd)
Coverage:  90.000% (63/70)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1697-1832
 90.000% (63/70)
7021
ssl_choose_client_version
Name: ssl_choose_client_version
Prototype: int ssl_choose_client_version(SSL *s, int version, RAW_EXTENSION *extensions)
Coverage:  89.062% (57/64)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1845-1959
 89.062% (57/64)
14217
ssl_check_version_downgrade
Name: ssl_check_version_downgrade
Prototype: int ssl_check_version_downgrade(SSL *s)
Coverage:  36.842% (7/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1577-1608
 36.842% (7/19)
176
ssl_check_srvr_ecc_cert_and_alg
Name: ssl_check_srvr_ecc_cert_and_alg
Prototype: int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3326-3337
 57.143% (4/7)
63
ssl_check_srp_ext_ClientHello
Name: ssl_check_srp_ext_ClientHello
Prototype: static int ssl_check_srp_ext_ClientHello(SSL *s)
Coverage:  53.333% (8/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_srvr.c
Lines: 1223-1253
 53.333% (8/15)
435
ssl_check_for_safari
Name: ssl_check_for_safari
Prototype: static void ssl_check_for_safari(SSL *s, const CLIENTHELLO_MSG *hello)
Coverage:  0.000% (0/15)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_srvr.c
Lines: 1305-1351
  0.000% (0/15)
143
ssl_check_ca_name
Name: ssl_check_ca_name
Prototype: static int ssl_check_ca_name(struct stack_st_X509_NAME *names, X509 *x)
Coverage:  0.000% (0/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/t1_lib.c
Lines: 2046-2056
  0.000% (0/7)
73
ssl_check_allowed_versions
Name: ssl_check_allowed_versions
Prototype: static int ssl_check_allowed_versions(int min_version, int max_version)
Coverage:  86.000% (43/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 463-567
 86.000% (43/50)
2611
ssl_cert_set_current
Name: ssl_cert_set_current
Prototype: int ssl_cert_set_current(CERT *c, long op)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 337-358
  0.000% (0/22)
167
ssl_cert_set_cert_store
Name: ssl_cert_set_cert_store
Prototype: int ssl_cert_set_cert_store(CERT *c, X509_STORE *store, int chain, int ref)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 895-907
  0.000% (0/10)
93
Page:<>1
Function: xsyslog
2
Function: uint64_clear
3
Function: tls_process_new_session_ticket
4
Function: tls_construct_new_session_ticket
5
Function: tls13_update_key
67
Function: ssl_cert_set_cert_cb
8
Function: sn_cmp_BSEARCH_CMP_FN
9
Function: sk_danetls_record_new
10
Function: sk_X509_REVOKED_free
...20
Function: sk_NAME_FUNCS_pop_free
...30
Function: siphash_signctx_init
...100
Function: BIO_ctrl_get_write_guarantee
...103
Function: ACCESS_DESCRIPTION_free

Generated by Squish Coco 4.2.2