| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | int X509_STORE_set_default_paths(X509_STORE *ctx) | - |
| 4 | { | - |
| 5 | X509_LOOKUP *lookup; | - |
| 6 | | - |
| 7 | lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file()); | - |
| 8 | if (lookup == | TRUE | never evaluated | | FALSE | evaluated 67 times by 1 test |
| 0-67 |
| 9 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 67 times by 1 test |
| 0-67 |
| 10 | ) | - |
| 11 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 12 | X509_LOOKUP_ctrl((lookup),1,( | - |
| 13 | ((void *)0) | - |
| 14 | ),(long)(3), | - |
| 15 | ((void *)0) | - |
| 16 | ); | - |
| 17 | | - |
| 18 | lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_hash_dir()); | - |
| 19 | if (lookup == | TRUE | never evaluated | | FALSE | evaluated 67 times by 1 test |
| 0-67 |
| 20 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 67 times by 1 test |
| 0-67 |
| 21 | ) | - |
| 22 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 23 | X509_LOOKUP_ctrl((lookup),2,( | - |
| 24 | ((void *)0) | - |
| 25 | ),(long)(3), | - |
| 26 | ((void *)0) | - |
| 27 | ); | - |
| 28 | | - |
| 29 | | - |
| 30 | ERR_clear_error(); | - |
| 31 | | - |
| 32 | returnexecuted 67 times by 1 test: return 1; 1;executed 67 times by 1 test: return 1; | 67 |
| 33 | } | - |
| 34 | | - |
| 35 | int X509_STORE_load_locations(X509_STORE *ctx, const char *file, | - |
| 36 | const char *path) | - |
| 37 | { | - |
| 38 | X509_LOOKUP *lookup; | - |
| 39 | | - |
| 40 | if (file != | TRUE | evaluated 1252 times by 1 test | | FALSE | evaluated 115 times by 1 test |
| 115-1252 |
| 41 | ((void *)0)| TRUE | evaluated 1252 times by 1 test | | FALSE | evaluated 115 times by 1 test |
| 115-1252 |
| 42 | ) { | - |
| 43 | lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_file()); | - |
| 44 | if (lookup == | TRUE | never evaluated | | FALSE | evaluated 1252 times by 1 test |
| 0-1252 |
| 45 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 1252 times by 1 test |
| 0-1252 |
| 46 | ) | - |
| 47 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 48 | if (X509_LOOKUP_ctrl((lookup),1,(file),(long)(1),| TRUE | never evaluated | | FALSE | evaluated 1252 times by 1 test |
| 0-1252 |
| 49 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 1252 times by 1 test |
| 0-1252 |
| 50 | ) != 1| TRUE | never evaluated | | FALSE | evaluated 1252 times by 1 test |
) | 0-1252 |
| 51 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 52 | }executed 1252 times by 1 test: end of block | 1252 |
| 53 | if (path != | TRUE | never evaluated | | FALSE | evaluated 1367 times by 1 test |
| 0-1367 |
| 54 | ((void *)0)| TRUE | never evaluated | | FALSE | evaluated 1367 times by 1 test |
| 0-1367 |
| 55 | ) { | - |
| 56 | lookup = X509_STORE_add_lookup(ctx, X509_LOOKUP_hash_dir()); | - |
| 57 | if (lookup == | TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 58 | ((void *)0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 59 | ) | - |
| 60 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 61 | if (X509_LOOKUP_ctrl((lookup),2,(path),(long)(1),| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 62 | ((void *)0)| TRUE | never evaluated | | FALSE | never evaluated |
| 0 |
| 63 | ) != 1| TRUE | never evaluated | | FALSE | never evaluated |
) | 0 |
| 64 | return never executed: return 0; 0;never executed: return 0; | 0 |
| 65 | } never executed: end of block | 0 |
| 66 | if ((| TRUE | evaluated 1367 times by 1 test | | FALSE | never evaluated |
path == | TRUE | evaluated 1367 times by 1 test | | FALSE | never evaluated |
| 0-1367 |
| 67 | ((void *)0)| TRUE | evaluated 1367 times by 1 test | | FALSE | never evaluated |
| 0-1367 |
| 68 | )| TRUE | evaluated 1367 times by 1 test | | FALSE | never evaluated |
&& (| TRUE | evaluated 115 times by 1 test | | FALSE | evaluated 1252 times by 1 test |
file == | TRUE | evaluated 115 times by 1 test | | FALSE | evaluated 1252 times by 1 test |
| 0-1367 |
| 69 | ((void *)0)| TRUE | evaluated 115 times by 1 test | | FALSE | evaluated 1252 times by 1 test |
| 115-1252 |
| 70 | )| TRUE | evaluated 115 times by 1 test | | FALSE | evaluated 1252 times by 1 test |
) | 115-1252 |
| 71 | returnexecuted 115 times by 1 test: return 0; 0;executed 115 times by 1 test: return 0; | 115 |
| 72 | returnexecuted 1252 times by 1 test: return 1; 1;executed 1252 times by 1 test: return 1; | 1252 |
| 73 | } | - |
| | |