Since TS_VERIFY_CTX is now opaque, the only thing TS_VERIFY_CTX_init()
is good for outside the library is memory leaks. Inside the library it's
also useless, since as a much more familiar name is memset(). It will soon
be able to join all the other nonsense that should never have leaked out of
this library.
-/* $OpenBSD: ts_verify_ctx.c,v 1.11 2022/07/24 19:54:46 tb Exp $ */
+/* $OpenBSD: ts_verify_ctx.c,v 1.12 2023/03/31 17:47:39 tb Exp $ */
/* Written by Zoltan Glozik (zglozik@stones.com) for the OpenSSL
* project 2003.
*/
GENERAL_NAME_free(ctx->tsa_name);
- TS_VERIFY_CTX_init(ctx);
+ memset(ctx, 0, sizeof(*ctx));
}
/*