Commit | Line | Data |
---|---|---|
e3d3546e MW |
1 | Initialize the context in 'test_auth_clear'. |
2 | Fixes the test suite on mips64el. | |
3 | ||
4 | Patch by Mark H Weaver <mhw@netris.org> | |
5 | ||
6 | --- libotr-4.1.1/tests/unit/test_auth.c.orig 2015-12-25 12:39:45.000000000 -0500 | |
7 | +++ libotr-4.1.1/tests/unit/test_auth.c 2016-03-17 18:53:10.169999706 -0400 | |
8 | @@ -67,6 +67,7 @@ | |
9 | OtrlAuthInfo *auth = &ctx.auth; | |
10 | ||
11 | /* API call. */ | |
12 | + otrl_auth_new(&ctx); | |
13 | otrl_auth_clear(auth); | |
14 | ||
15 | ok(auth->authstate == OTRL_AUTHSTATE_NONE && |