|
@@ -1466,11 +1466,11 @@ test_tortls_try_to_extract_certs_from_tls(void *ignored)
|
|
|
|
|
|
sk_X509_push(sess->cert_chain, c1);
|
|
|
sk_X509_push(sess->cert_chain, c2);
|
|
|
+
|
|
|
try_to_extract_certs_from_tls(LOG_WARN, tls, &cert, &id_cert);
|
|
|
tt_assert(cert == c1);
|
|
|
tt_assert(id_cert);
|
|
|
X509_free(cert); /* decrease refcnt */
|
|
|
- X509_free(id_cert); /* decrease refcnt */
|
|
|
|
|
|
done:
|
|
|
sk_X509_free(sess->cert_chain);
|