early-access version 2698
This commit is contained in:
8
externals/libressl/crypto/x509/x509_trs.c
vendored
8
externals/libressl/crypto/x509/x509_trs.c
vendored
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: x509_trs.c,v 1.23 2018/05/18 18:40:38 tb Exp $ */
|
||||
/* $OpenBSD: x509_trs.c,v 1.25 2021/11/01 20:53:08 tb Exp $ */
|
||||
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
|
||||
* project 1999.
|
||||
*/
|
||||
@@ -62,6 +62,8 @@
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/x509v3.h>
|
||||
|
||||
#include "x509_lcl.h"
|
||||
|
||||
static int tr_cmp(const X509_TRUST * const *a, const X509_TRUST * const *b);
|
||||
static void trtable_free(X509_TRUST *p);
|
||||
|
||||
@@ -265,10 +267,6 @@ trtable_free(X509_TRUST *p)
|
||||
void
|
||||
X509_TRUST_cleanup(void)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < X509_TRUST_COUNT; i++)
|
||||
trtable_free(trstandard + i);
|
||||
sk_X509_TRUST_pop_free(trtable, trtable_free);
|
||||
trtable = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user