forked from pool/libotr
13 lines
399 B
Diff
13 lines
399 B
Diff
|
Index: libotr-4.1.1/tests/unit/test_auth.c
|
||
|
===================================================================
|
||
|
--- libotr-4.1.1.orig/tests/unit/test_auth.c
|
||
|
+++ libotr-4.1.1/tests/unit/test_auth.c
|
||
|
@@ -67,6 +67,7 @@ static void test_auth_clear(void)
|
||
|
OtrlAuthInfo *auth = &ctx.auth;
|
||
|
|
||
|
/* API call. */
|
||
|
+ otrl_auth_new(&ctx);
|
||
|
otrl_auth_clear(auth);
|
||
|
|
||
|
ok(auth->authstate == OTRL_AUTHSTATE_NONE &&
|