sync with OpenBSD -current
This commit is contained in:
parent
d22f2a15f3
commit
f4a22ff4b2
17 changed files with 1316 additions and 178 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: validate.c,v 1.74 2024/05/20 15:51:43 claudio Exp $ */
|
||||
/* $OpenBSD: validate.c,v 1.75 2024/06/12 10:03:09 tb Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
|
||||
*
|
||||
|
@ -304,9 +304,6 @@ build_chain(const struct auth *a, STACK_OF(X509) **intermediates,
|
|||
*intermediates = NULL;
|
||||
*root = NULL;
|
||||
|
||||
if (a == NULL)
|
||||
return;
|
||||
|
||||
if ((*intermediates = sk_X509_new_null()) == NULL)
|
||||
err(1, "sk_X509_new_null");
|
||||
if ((*root = sk_X509_new_null()) == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue