|
Greenbone Vulnerability Management Libraries 22.32.0
|

Go to the source code of this file.
Functions | |
| Describe (authutils) | |
| BeforeEach (authutils) | |
| AfterEach (authutils) | |
| Ensure (authutils, auth_method_name_returns_correct_strings) | |
| Ensure (authutils, auth_method_name_valid_returns_one_for_valid_names) | |
| Ensure (authutils, auth_method_name_valid_returns_zero_for_invalid_names) | |
| Ensure (authutils, gvm_auth_ldap_enabled_returns_one_when_enabled) | |
| Ensure (authutils, gvm_auth_radius_enabled_returns_one_when_enabled) | |
| Ensure (authutils, digest_hex_returns_correct_hex_string) | |
| Ensure (authutils, digest_hex_returns_null_for_invalid_algorithm) | |
| Ensure (authutils, get_md5_hash_from_string_returns_correct_hash) | |
| Ensure (authutils, get_md5_hash_from_string_handles_empty_string) | |
| Ensure (authutils, get_password_hashes_returns_valid_hash_pair) | |
| Ensure (authutils, gvm_authenticate_classic_succeeds_with_correct_password) | |
| Ensure (authutils, gvm_authenticate_classic_fails_with_incorrect_password) | |
| Ensure (authutils, gvm_authenticate_classic_fails_with_null_hash) | |
| Ensure (authutils, gvm_authenticate_classic_returns_error_for_invalid_hash_format) | |
| Ensure (authutils, gvm_auth_init_succeeds_on_first_call) | |
| Ensure (authutils, gvm_auth_init_fails_on_second_call) | |
| int | main (int argc, char **argv) |
| AfterEach | ( | authutils | ) |
Definition at line 19 of file authutils_tests.c.
| BeforeEach | ( | authutils | ) |
Definition at line 13 of file authutils_tests.c.
References gvm_auth_init().

| Describe | ( | authutils | ) |
| Ensure | ( | authutils | , |
| auth_method_name_returns_correct_strings | ) |
Definition at line 25 of file authutils_tests.c.
References auth_method_name(), AUTHENTICATION_METHOD_FILE, AUTHENTICATION_METHOD_LAST, AUTHENTICATION_METHOD_LDAP_CONNECT, and AUTHENTICATION_METHOD_RADIUS_CONNECT.

| Ensure | ( | authutils | , |
| auth_method_name_valid_returns_one_for_valid_names | ) |
Definition at line 39 of file authutils_tests.c.
References auth_method_name_valid().

| Ensure | ( | authutils | , |
| auth_method_name_valid_returns_zero_for_invalid_names | ) |
Definition at line 46 of file authutils_tests.c.
References auth_method_name_valid().

| Ensure | ( | authutils | , |
| digest_hex_returns_correct_hex_string | ) |
Definition at line 76 of file authutils_tests.c.
References digest_hex().

| Ensure | ( | authutils | , |
| digest_hex_returns_null_for_invalid_algorithm | ) |
Definition at line 86 of file authutils_tests.c.
References digest_hex().

| Ensure | ( | authutils | , |
| get_md5_hash_from_string_handles_empty_string | ) |
Definition at line 104 of file authutils_tests.c.
References get_md5_hash_from_string().

| Ensure | ( | authutils | , |
| get_md5_hash_from_string_returns_correct_hash | ) |
Definition at line 95 of file authutils_tests.c.
References get_md5_hash_from_string().

| Ensure | ( | authutils | , |
| get_password_hashes_returns_valid_hash_pair | ) |
Definition at line 115 of file authutils_tests.c.
References get_password_hashes().

| Ensure | ( | authutils | , |
| gvm_auth_init_fails_on_second_call | ) |
Definition at line 185 of file authutils_tests.c.
References gvm_auth_init(), and initialized.

| Ensure | ( | authutils | , |
| gvm_auth_init_succeeds_on_first_call | ) |
Definition at line 176 of file authutils_tests.c.
References gvm_auth_init(), and initialized.

| Ensure | ( | authutils | , |
| gvm_auth_ldap_enabled_returns_one_when_enabled | ) |
Definition at line 54 of file authutils_tests.c.
References gvm_auth_ldap_enabled().

| Ensure | ( | authutils | , |
| gvm_auth_radius_enabled_returns_one_when_enabled | ) |
Definition at line 65 of file authutils_tests.c.
References gvm_auth_radius_enabled().

| Ensure | ( | authutils | , |
| gvm_authenticate_classic_fails_with_incorrect_password | ) |
Definition at line 149 of file authutils_tests.c.
References get_password_hashes(), and gvm_authenticate_classic().

| Ensure | ( | authutils | , |
| gvm_authenticate_classic_fails_with_null_hash | ) |
Definition at line 161 of file authutils_tests.c.
References gvm_authenticate_classic().

| Ensure | ( | authutils | , |
| gvm_authenticate_classic_returns_error_for_invalid_hash_format | ) |
Definition at line 167 of file authutils_tests.c.
References gvm_authenticate_classic().

| Ensure | ( | authutils | , |
| gvm_authenticate_classic_succeeds_with_correct_password | ) |
Definition at line 137 of file authutils_tests.c.
References get_password_hashes(), and gvm_authenticate_classic().

| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 202 of file authutils_tests.c.