1
1

tests: Fixed the torture_callbacks test.

We should zero the structure else ssh_callback_exists() can't be
working.
Этот коммит содержится в:
Andreas Schneider 2011-01-01 19:13:29 +01:00
родитель 2945a42c75
Коммит 5331489581

Просмотреть файл

@ -20,6 +20,7 @@ static void setup(void **state) {
cb = malloc(sizeof(struct ssh_callbacks_struct));
assert_false(cb == NULL);
ZERO_STRUCTP(cb);
cb->userdata = (void *) 0x0badc0de;
cb->auth_function = myauthcallback;