OpenCoverage

OpenSSL Test Coverage

Function Tree

Page:<>1
Function: xsyslog
...3
Function: tls_process_new_session_ticket
4
Function: tls_construct_new_session_ticket
5
Function: tls13_update_key
6
Function: ssl_set_masks
78
Function: sn_cmp_BSEARCH_CMP_FN
9
Function: sk_danetls_record_new
10
Function: sk_X509_REVOKED_free
11
Function: sk_X509_OBJECT_delete_ptr
...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_cert_set_cert_cb
Name: ssl_cert_set_cert_cb
Prototype: void ssl_cert_set_cert_cb(CERT *c, int (*cb) (SSL *ssl, void *arg), void *arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 360-364
100.000% (1/1)
21
ssl_cert_set1_chain
Name: ssl_cert_set1_chain
Prototype: int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, struct stack_st_X509 *chain)
Coverage:  0.000% (0/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 273-286
  0.000% (0/10)
144
ssl_cert_set0_chain
Name: ssl_cert_set0_chain
Prototype: int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, struct stack_st_X509 *chain)
Coverage:  33.333% (4/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 255-271
 33.333% (4/12)
124
ssl_cert_select_current
Name: ssl_cert_select_current
Prototype: int ssl_cert_select_current(CERT *c, X509 *x)
Coverage:  0.000% (0/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 314-335
  0.000% (0/22)
166
ssl_cert_new
Name: ssl_cert_new
Prototype: CERT *ssl_cert_new(void)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 50-72
 42.857% (3/7)
313
ssl_cert_lookup_by_pkey
Name: ssl_cert_lookup_by_pkey
Prototype: const SSL_CERT_LOOKUP *ssl_cert_lookup_by_pkey(const EVP_PKEY *pk, size_t *pidx)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 1017-1032
 80.000% (8/10)
194
ssl_cert_lookup_by_nid
Name: ssl_cert_lookup_by_nid
Prototype: int ssl_cert_lookup_by_nid(int nid, size_t *pidx)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 1003-1015
100.000% (7/7)
63
ssl_cert_lookup_by_idx
Name: ssl_cert_lookup_by_idx
Prototype: const SSL_CERT_LOOKUP *ssl_cert_lookup_by_idx(size_t idx)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 1034-1039
 50.000% (2/4)
72
ssl_cert_is_disabled
Name: ssl_cert_is_disabled
Prototype: int ssl_cert_is_disabled(size_t idx)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 2154-2161
 50.000% (3/6)
82
ssl_cert_free
Name: ssl_cert_free
Prototype: void ssl_cert_free(CERT *c)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 224-253
 42.857% (3/7)
203
ssl_cert_dup
Name: ssl_cert_dup
Prototype: CERT *ssl_cert_dup(CERT *cert)
Coverage:  64.179% (43/67)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 74-201
 64.179% (43/67)
14323
ssl_cert_clear_certs
Name: ssl_cert_clear_certs
Prototype: void ssl_cert_clear_certs(CERT *c)
Coverage:  71.429% (5/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 205-222
 71.429% (5/7)
323
ssl_cert_add1_chain_cert
Name: ssl_cert_add1_chain_cert
Prototype: int ssl_cert_add1_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 306-312
  0.000% (0/4)
42
ssl_cert_add0_chain_cert
Name: ssl_cert_add0_chain_cert
Prototype: int ssl_cert_add0_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x)
Coverage:  47.059% (8/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 288-304
 47.059% (8/17)
135
ssl_callback_ctrl
Name: ssl_callback_ctrl
Prototype: static long ssl_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/bio_ssl.c
Lines: 393-410
  0.000% (0/5)
113
ssl_cache_cipherlist
Name: ssl_cache_cipherlist
Prototype: int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format)
Coverage:  65.714% (23/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 5185-5253
 65.714% (23/35)
879
ssl_build_cert_chain
Name: ssl_build_cert_chain
Prototype: int ssl_build_cert_chain(SSL *s, SSL_CTX *ctx, int flags)
Coverage:  0.000% (0/74)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_cert.c
Lines: 787-893
  0.000% (0/74)
9424
ssl_bad_method
Name: ssl_bad_method
Prototype: const SSL_METHOD *ssl_bad_method(int ver)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_lib.c
Lines: 3616-3620
  0.000% (0/1)
61
ssl_allow_compression
Name: ssl_allow_compression
Prototype: int ssl_allow_compression(SSL *s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 1382-1387
 50.000% (2/4)
72
ssl_add_cert_to_wpacket
Name: ssl_add_cert_to_wpacket
Prototype: static int ssl_add_cert_to_wpacket(SSL *s, WPACKET *pkt, X509 *x, int chain)
Coverage:  55.556% (10/18)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 866-892
 55.556% (10/18)
334
ssl_add_cert_chain
Name: ssl_add_cert_chain
Prototype: static int ssl_add_cert_chain(SSL *s, WPACKET *pkt, CERT_PKEY *cpk)
Coverage:  66.000% (33/50)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 895-989
 66.000% (33/50)
9315
ssl3_write_pending
Name: ssl3_write_pending
Prototype: int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, size_t len, size_t *written)
Coverage:  56.757% (21/37)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/rec_layer_s3.c
Lines: 1118-1178
 56.757% (21/37)
5810
ssl3_write_bytes
Name: ssl3_write_bytes
Prototype: int ssl3_write_bytes(SSL *s, int type, const void *buf_, size_t len, size_t *written)
Coverage:  41.618% (72/173)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/rec_layer_s3.c
Lines: 337-642
 41.618% (72/173)
21341
ssl3_write
Name: ssl3_write
Prototype: int ssl3_write(SSL *s, const void *buf, size_t len, size_t *written)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4434-4442
100.000% (4/4)
72
ssl3_take_mac
Name: ssl3_take_mac
Prototype: int ssl3_take_mac(SSL *s)
Coverage:  75.000% (6/8)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 661-684
 75.000% (6/8)
133
ssl3_shutdown
Name: ssl3_shutdown
Prototype: int ssl3_shutdown(SSL *s)
Coverage:  72.414% (21/29)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4383-4432
 72.414% (21/29)
309
ssl3_setup_write_buffer
Name: ssl3_setup_write_buffer
Prototype: int ssl3_setup_write_buffer(SSL *s, size_t numwpipes, size_t len)
Coverage:  78.571% (22/28)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_buffer.c
Lines: 81-139
 78.571% (22/28)
519
ssl3_setup_read_buffer
Name: ssl3_setup_read_buffer
Prototype: int ssl3_setup_read_buffer(SSL *s)
Coverage:  64.706% (11/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_buffer.c
Lines: 37-79
 64.706% (11/17)
336
ssl3_setup_key_block
Name: ssl3_setup_key_block
Prototype: int ssl3_setup_key_block(SSL *s)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 251-317
  0.000% (0/25)
609
ssl3_setup_buffers
Name: ssl3_setup_buffers
Prototype: int ssl3_setup_buffers(SSL *s)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_buffer.c
Lines: 141-152
 42.857% (3/7)
53
ssl3_set_req_cert_type
Name: ssl3_set_req_cert_type
Prototype: static int ssl3_set_req_cert_type(CERT *c, const unsigned char *p, size_t len)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4367-4381
  0.000% (0/12)
224
ssl3_set_handshake_header
Name: ssl3_set_handshake_header
Prototype: int ssl3_set_handshake_header(SSL *s, WPACKET *pkt, int htype)
Coverage:  66.667% (6/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3273-3285
 66.667% (6/9)
63
ssl3_send_alert
Name: ssl3_send_alert
Prototype: int ssl3_send_alert(SSL *s, int level, int desc)
Coverage:  80.000% (28/35)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_msg.c
Lines: 39-67
 80.000% (28/35)
196
ssl3_renegotiate_check
Name: ssl3_renegotiate_check
Prototype: int ssl3_renegotiate_check(SSL *s, int initok)
Coverage:  76.923% (10/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4502-4523
 76.923% (10/13)
113
ssl3_renegotiate
Name: ssl3_renegotiate
Prototype: int ssl3_renegotiate(SSL *s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4485-4492
 50.000% (2/4)
62
ssl3_release_write_buffer
Name: ssl3_release_write_buffer
Prototype: int ssl3_release_write_buffer(SSL *s)
Coverage: 100.000% (4/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_buffer.c
Lines: 154-169
100.000% (4/4)
142
ssl3_release_read_buffer
Name: ssl3_release_read_buffer
Prototype: int ssl3_release_read_buffer(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_buffer.c
Lines: 171-179
100.000% (1/1)
91
ssl3_record_sequence_update
Name: ssl3_record_sequence_update
Prototype: void ssl3_record_sequence_update(unsigned char *seq)
Coverage:  57.143% (4/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/rec_layer_s3.c
Lines: 1737-1746
 57.143% (4/7)
53
ssl3_record_app_data_waiting
Name: ssl3_record_app_data_waiting
Prototype: static int ssl3_record_app_data_waiting(SSL *s)
Coverage:  0.000% (0/13)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 69-102
  0.000% (0/13)
205
ssl3_read_n
Name: ssl3_read_n
Prototype: int ssl3_read_n(SSL *s, size_t n, size_t max, int extend, int clearold, size_t *readbytes)
Coverage:  72.414% (63/87)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/rec_layer_s3.c
Lines: 169-331
 72.414% (63/87)
9625
ssl3_read_internal
Name: ssl3_read_internal
Prototype: static int ssl3_read_internal(SSL *s, void *buf, size_t len, int peek, size_t *readbytes)
Coverage:  60.000% (6/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4444-4473
 60.000% (6/10)
263
ssl3_read_bytes
Name: ssl3_read_bytes
Prototype: int ssl3_read_bytes(SSL *s, int type, int *recvd_type, unsigned char *buf, size_t len, int peek, size_t *readbytes)
Coverage:  73.038% (214/293)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/rec_layer_s3.c
Lines: 1209-1735
 73.038% (214/293)
39773
ssl3_read
Name: ssl3_read
Prototype: int ssl3_read(SSL *s, void *buf, size_t len, size_t *readbytes)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4475-4478
100.000% (1/1)
11
ssl3_put_cipher_by_char
Name: ssl3_put_cipher_by_char
Prototype: int ssl3_put_cipher_by_char(const SSL_CIPHER *c, WPACKET *pkt, size_t *len)
Coverage:  42.857% (3/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4093-4105
 42.857% (3/7)
73
ssl3_pending
Name: ssl3_pending
Prototype: size_t ssl3_pending(const SSL *s)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/rec_layer_s3.c
Lines: 111-126
 80.000% (8/10)
94
ssl3_peek
Name: ssl3_peek
Prototype: int ssl3_peek(SSL *s, void *buf, size_t len, size_t *readbytes)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4480-4483
  0.000% (0/1)
11
ssl3_output_cert_chain
Name: ssl3_output_cert_chain
Prototype: unsigned long ssl3_output_cert_chain(SSL *s, WPACKET *pkt, CERT_PKEY *cpk)
Coverage:  40.000% (4/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 991-1009
 40.000% (4/10)
234
ssl3_num_ciphers
Name: ssl3_num_ciphers
Prototype: int ssl3_num_ciphers(void)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3260-3263
100.000% (1/1)
11
ssl3_new
Name: ssl3_new
Prototype: int ssl3_new(SSL *s)
Coverage:  36.364% (4/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3292-3311
 36.364% (4/11)
125
ssl3_init_finished_mac
Name: ssl3_init_finished_mac
Prototype: int ssl3_init_finished_mac(SSL *s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 326-339
 50.000% (2/4)
212
ssl3_handshake_write
Name: ssl3_handshake_write
Prototype: int ssl3_handshake_write(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3287-3290
100.000% (1/1)
11
ssl3_get_req_cert_type
Name: ssl3_get_req_cert_type
Prototype: int ssl3_get_req_cert_type(SSL *s, WPACKET *pkt)
Coverage:  32.558% (14/43)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4315-4365
 32.558% (14/43)
239
ssl3_get_record
Name: ssl3_get_record
Prototype: int ssl3_get_record(SSL *s)
Coverage:  53.694% (298/555)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 173-790
 53.694% (298/555)
1595101
ssl3_get_cipher_by_std_name
Name: ssl3_get_cipher_by_std_name
Prototype: const SSL_CIPHER *ssl3_get_cipher_by_std_name(const char *stdname)
Coverage:  24.390% (20/82)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4053-4080
 24.390% (20/82)
34920
ssl3_get_cipher_by_id
Name: ssl3_get_cipher_by_id
Prototype: const SSL_CIPHER *ssl3_get_cipher_by_id(uint32_t id)
Coverage: 100.000% (7/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4038-4051
100.000% (7/7)
143
ssl3_get_cipher_by_char
Name: ssl3_get_cipher_by_char
Prototype: const SSL_CIPHER *ssl3_get_cipher_by_char(const unsigned char *p)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4086-4091
100.000% (1/1)
31
ssl3_get_cipher
Name: ssl3_get_cipher
Prototype: const SSL_CIPHER *ssl3_get_cipher(unsigned int u)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3265-3271
 50.000% (2/4)
72
ssl3_generate_master_secret
Name: ssl3_generate_master_secret
Prototype: int ssl3_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, size_t len, size_t *secret_size)
Coverage:  0.000% (0/31)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 471-525
  0.000% (0/31)
575
ssl3_generate_key_block
Name: ssl3_generate_key_block
Prototype: static int ssl3_generate_key_block(SSL *s, unsigned char *km, int num)
Coverage:  0.000% (0/45)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 17-88
  0.000% (0/45)
10910
ssl3_free_digest_list
Name: ssl3_free_digest_list
Prototype: void ssl3_free_digest_list(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 346-352
100.000% (1/1)
121
ssl3_free
Name: ssl3_free
Prototype: void ssl3_free(SSL *s)
Coverage:  50.000% (3/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3313-3342
 50.000% (3/6)
372
ssl3_finish_mac
Name: ssl3_finish_mac
Prototype: int ssl3_finish_mac(SSL *s, const unsigned char *buf, size_t len)
Coverage:  56.250% (9/16)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 354-380
 56.250% (9/16)
375
ssl3_final_finish_mac
Name: ssl3_final_finish_mac
Prototype: size_t ssl3_final_finish_mac(SSL *s, const char *sender, size_t len, unsigned char *p)
Coverage:  0.000% (0/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 419-469
  0.000% (0/25)
777
ssl3_enc
Name: ssl3_enc
Prototype: int ssl3_enc(SSL *s, SSL3_RECORD *inrecs, size_t n_recs, int sending)
Coverage:  0.000% (0/49)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 846-923
  0.000% (0/49)
7613
ssl3_do_write
Name: ssl3_do_write
Prototype: int ssl3_do_write(SSL *s, int type)
Coverage:  66.667% (18/27)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_lib.c
Lines: 41-73
 66.667% (18/27)
237
ssl3_do_uncompress
Name: ssl3_do_uncompress
Prototype: int ssl3_do_uncompress(SSL *ssl, SSL3_RECORD *rr)
Coverage:  0.000% (0/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 792-814
  0.000% (0/11)
174
ssl3_do_compress
Name: ssl3_do_compress
Prototype: int ssl3_do_compress(SSL *ssl, SSL3_RECORD *wr)
Coverage:  0.000% (0/5)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 816-833
  0.000% (0/5)
92
ssl3_do_change_cipher_spec
Name: ssl3_do_change_cipher_spec
Prototype: int ssl3_do_change_cipher_spec(SSL *s)
Coverage:  63.158% (12/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_msg.c
Lines: 12-37
 63.158% (12/19)
206
ssl3_dispatch_alert
Name: ssl3_dispatch_alert
Prototype: int ssl3_dispatch_alert(SSL *s)
Coverage:  88.235% (15/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_msg.c
Lines: 69-104
 88.235% (15/17)
366
ssl3_digest_cached_records
Name: ssl3_digest_cached_records
Prototype: int ssl3_digest_cached_records(SSL *s, int keep)
Coverage:  60.000% (12/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 382-417
 60.000% (12/20)
586
ssl3_default_timeout
Name: ssl3_default_timeout
Prototype: long ssl3_default_timeout(void)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3251-3258
  0.000% (0/1)
11
ssl3_ctx_ctrl
Name: ssl3_ctx_ctrl
Prototype: long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg)
Coverage:  44.853% (61/136)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3743-3984
 44.853% (61/136)
20556
ssl3_ctx_callback_ctrl
Name: ssl3_ctx_callback_ctrl
Prototype: long ssl3_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp) (void))
Coverage:  68.421% (13/19)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3986-4036
 68.421% (13/19)
2710
ssl3_ctrl
Name: ssl3_ctrl
Prototype: long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg)
Coverage:  38.919% (72/185)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3390-3713
 38.919% (72/185)
24471
ssl3_comp_find
Name: ssl3_comp_find
Prototype: SSL_COMP *ssl3_comp_find(struct stack_st_SSL_COMP *sk, int n)
Coverage:  0.000% (0/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/ssl_ciph.c
Lines: 1898-1912
  0.000% (0/12)
224
ssl3_clear
Name: ssl3_clear
Prototype: int ssl3_clear(SSL *s)
Coverage:  50.000% (2/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3344-3379
 50.000% (2/4)
242
ssl3_cleanup_key_block
Name: ssl3_cleanup_key_block
Prototype: void ssl3_cleanup_key_block(SSL *s)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 319-324
100.000% (1/1)
71
ssl3_choose_cipher
Name: ssl3_choose_cipher
Prototype: const SSL_CIPHER *ssl3_choose_cipher(SSL *s, struct stack_st_SSL_CIPHER *clnt, struct stack_st_SSL_CIPHER *srvr)
Coverage:  87.313% (117/134)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 4115-4313
 87.313% (117/134)
11132
ssl3_check_client_certificate
Name: ssl3_check_client_certificate
Prototype: static int ssl3_check_client_certificate(SSL *s)
Coverage:  54.545% (6/11)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_clnt.c
Lines: 3428-3441
 54.545% (6/11)
203
ssl3_check_cert_and_algorithm
Name: ssl3_check_cert_and_algorithm
Prototype: int ssl3_check_cert_and_algorithm(SSL *s)
Coverage:  72.000% (18/25)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/statem/statem_clnt.c
Lines: 3565-3615
 72.000% (18/25)
657
ssl3_change_cipher_state
Name: ssl3_change_cipher_state
Prototype: int ssl3_change_cipher_state(SSL *s, int which)
Coverage:  0.000% (0/63)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 90-249
  0.000% (0/63)
21720
ssl3_cbc_remove_padding
Name: ssl3_cbc_remove_padding
Prototype: int ssl3_cbc_remove_padding(SSL3_RECORD *rec, size_t block_size, size_t mac_size)
Coverage:  0.000% (0/4)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 1409-1428
  0.000% (0/4)
102
ssl3_cbc_record_digest_supported
Name: ssl3_cbc_record_digest_supported
Prototype: char ssl3_cbc_record_digest_supported(const EVP_MD_CTX *ctx)
Coverage:  44.444% (4/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_cbc.c
Lines: 91-104
 44.444% (4/9)
38
ssl3_cbc_digest_record
Name: ssl3_cbc_digest_record
Prototype: int ssl3_cbc_digest_record(const EVP_MD_CTX *ctx, unsigned char *md_out, size_t *md_out_size, const unsigned char header[13], const unsigned char *data, size_t data_plus_mac_size, size_t data_plus_mac_plus_padding_size, const unsigned char *mac_secret, size_t mac_secret_length, char is_sslv3)
Coverage:  48.872% (65/133)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_cbc.c
Lines: 128-486
 48.872% (65/133)
19742
ssl3_cbc_copy_mac
Name: ssl3_cbc_copy_mac
Prototype: int ssl3_cbc_copy_mac(unsigned char *out, const SSL3_RECORD *rec, size_t md_size)
Coverage:  76.471% (13/17)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/record/ssl3_record.c
Lines: 1529-1602
 76.471% (13/17)
315
ssl3_callback_ctrl
Name: ssl3_callback_ctrl
Prototype: long ssl3_callback_ctrl(SSL *s, int cmd, void (*fp) (void))
Coverage:  0.000% (0/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3715-3741
  0.000% (0/9)
115
ssl3_alert_code
Name: ssl3_alert_code
Prototype: int ssl3_alert_code(int code)
Coverage:  0.000% (0/68)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_enc.c
Lines: 527-599
  0.000% (0/68)
3535
srp_verify_server_param
Name: srp_verify_server_param
Prototype: int srp_verify_server_param(SSL *s)
Coverage:  35.000% (7/20)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls_srp.c
Lines: 332-366
 35.000% (7/20)
476
srp_user_pwd_dup
Name: srp_user_pwd_dup
Prototype: static SRP_user_pwd *srp_user_pwd_dup(SRP_user_pwd *src)
Coverage:  41.667% (5/12)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/srp/srp_vfy.c
Lines: 253-269
 41.667% (5/12)
274
srp_password_from_info_cb
Name: srp_password_from_info_cb
Prototype: static char *srp_password_from_info_cb(SSL *s, void *arg)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/s3_lib.c
Lines: 3382-3385
100.000% (1/1)
11
srp_generate_server_master_secret
Name: srp_generate_server_master_secret
Prototype: int srp_generate_server_master_secret(SSL *s)
Coverage:  42.857% (6/14)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls_srp.c
Lines: 249-276
 42.857% (6/14)
446
srp_generate_client_master_secret
Name: srp_generate_client_master_secret
Prototype: int srp_generate_client_master_secret(SSL *s)
Coverage:  47.826% (11/23)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/ssl/tls_srp.c
Lines: 279-330
 47.826% (11/23)
1027
srp_Calc_xy
Name: srp_Calc_xy
Prototype: static BIGNUM *srp_Calc_xy(const BIGNUM *x, const BIGNUM *y, const BIGNUM *N)
Coverage:  50.000% (11/22)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/srp/srp_lib.c
Lines: 23-43
 50.000% (11/22)
476
srp_Calc_k
Name: srp_Calc_k
Prototype: static BIGNUM *srp_Calc_k(const BIGNUM *N, const BIGNUM *g)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/srp/srp_lib.c
Lines: 45-49
100.000% (1/1)
11
sock_write
Name: sock_write
Prototype: static int sock_write(BIO *b, const char *in, int inl)
Coverage:  28.571% (2/7)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_sock.c
Lines: 109-121
 28.571% (2/7)
103
sock_read
Name: sock_read
Prototype: static int sock_read(BIO *b, char *out, int outl)
Coverage:  90.000% (9/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_sock.c
Lines: 93-107
 90.000% (9/10)
134
sock_puts
Name: sock_puts
Prototype: static int sock_puts(BIO *bp, const char *str)
Coverage:  0.000% (0/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_sock.c
Lines: 161-168
  0.000% (0/1)
41
sock_new
Name: sock_new
Prototype: static int sock_new(BIO *bi)
Coverage: 100.000% (1/1)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_sock.c
Lines: 70-77
100.000% (1/1)
91
sock_free
Name: sock_free
Prototype: static int sock_free(BIO *a)
Coverage:  80.000% (8/10)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_sock.c
Lines: 79-91
 80.000% (8/10)
104
sock_ctrl
Name: sock_ctrl
Prototype: static long sock_ctrl(BIO *b, int cmd, long num, void *ptr)
Coverage:  61.905% (13/21)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/bio/bss_sock.c
Lines: 123-159
 61.905% (13/21)
2610
Page:<>1
Function: xsyslog
...3
Function: tls_process_new_session_ticket
4
Function: tls_construct_new_session_ticket
5
Function: tls13_update_key
6
Function: ssl_set_masks
78
Function: sn_cmp_BSEARCH_CMP_FN
9
Function: sk_danetls_record_new
10
Function: sk_X509_REVOKED_free
11
Function: sk_X509_OBJECT_delete_ptr
...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