-/* $OpenBSD: tls_conninfo.c,v 1.16 2017/08/27 01:39:26 beck Exp $ */
+/* $OpenBSD: tls_conninfo.c,v 1.17 2018/02/08 10:02:48 jsing Exp $ */
/*
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2015 Bob Beck <beck@openbsd.org>
return;
free(conninfo->alpn);
- conninfo->alpn = NULL;
free(conninfo->cipher);
- conninfo->cipher = NULL;
free(conninfo->servername);
- conninfo->servername = NULL;
free(conninfo->version);
- conninfo->version = NULL;
free(conninfo->hash);
- conninfo->hash = NULL;
free(conninfo->issuer);
- conninfo->issuer = NULL;
free(conninfo->subject);
- conninfo->subject = NULL;
free(conninfo->peer_cert);
- conninfo->peer_cert = NULL;
- conninfo->peer_cert_len = 0;
free(conninfo);
}