Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/ssl/d1_meth.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | - | |||||||
4 | static const SSL_METHOD *dtls1_get_method(int ver); | - | ||||||
5 | - | |||||||
6 | static const SSL_METHOD_INTERNAL DTLSv1_method_internal_data = { | - | ||||||
7 | .version = 0xFEFF, | - | ||||||
8 | .min_version = 0xFEFF, | - | ||||||
9 | .max_version = 0xFEFF, | - | ||||||
10 | .ssl_new = dtls1_new, | - | ||||||
11 | .ssl_clear = dtls1_clear, | - | ||||||
12 | .ssl_free = dtls1_free, | - | ||||||
13 | .ssl_accept = ssl3_accept, | - | ||||||
14 | .ssl_connect = ssl3_connect, | - | ||||||
15 | .get_ssl_method = dtls1_get_method, | - | ||||||
16 | .get_timeout = dtls1_default_timeout, | - | ||||||
17 | .ssl_version = ssl_undefined_void_function, | - | ||||||
18 | .ssl_renegotiate = ssl3_renegotiate, | - | ||||||
19 | .ssl_renegotiate_check = ssl3_renegotiate_check, | - | ||||||
20 | .ssl_get_message = dtls1_get_message, | - | ||||||
21 | .ssl_read_bytes = dtls1_read_bytes, | - | ||||||
22 | .ssl_write_bytes = dtls1_write_app_data_bytes, | - | ||||||
23 | .ssl3_enc = &DTLSv1_enc_data, | - | ||||||
24 | }; | - | ||||||
25 | - | |||||||
26 | static const SSL_METHOD DTLSv1_method_data = { | - | ||||||
27 | .ssl_dispatch_alert = dtls1_dispatch_alert, | - | ||||||
28 | .num_ciphers = ssl3_num_ciphers, | - | ||||||
29 | .get_cipher = dtls1_get_cipher, | - | ||||||
30 | .get_cipher_by_char = ssl3_get_cipher_by_char, | - | ||||||
31 | .put_cipher_by_char = ssl3_put_cipher_by_char, | - | ||||||
32 | .internal = &DTLSv1_method_internal_data, | - | ||||||
33 | }; | - | ||||||
34 | - | |||||||
35 | const SSL_METHOD * | - | ||||||
36 | DTLSv1_method(void) | - | ||||||
37 | { | - | ||||||
38 | return executed 17 times by 3 tests: &DTLSv1_method_data;return &DTLSv1_method_data; Executed by:
executed 17 times by 3 tests: return &DTLSv1_method_data; Executed by:
| 17 | ||||||
39 | } | - | ||||||
40 | - | |||||||
41 | static const SSL_METHOD * | - | ||||||
42 | dtls1_get_method(int ver) | - | ||||||
43 | { | - | ||||||
44 | if (ver == 0xFEFF
| 0 | ||||||
45 | return never executed: (DTLSv1_method());return (DTLSv1_method()); never executed: return (DTLSv1_method()); | 0 | ||||||
46 | return never executed: (return ( ((void *)0) ); never executed: return ( ((void *)0) ); | 0 | ||||||
47 | ((void *)0) never executed: return ( ((void *)0) ); | 0 | ||||||
48 | ); never executed: return ( ((void *)0) ); | 0 | ||||||
49 | } | - | ||||||
Switch to Source code | Preprocessed file |