SHA256
8
0
forked from pool/libotr
Files
libotr/libotr-test-uninitialized.patch

13 lines
399 B
Diff
Raw Permalink Normal View History

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 &&