sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-28 08:40:30 +00:00
parent 4de47ea988
commit f463301edc
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
142 changed files with 4045 additions and 1295 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: gbr.c,v 1.27 2023/06/20 12:39:50 job Exp $ */
/* $OpenBSD: gbr.c,v 1.28 2023/09/25 11:08:45 tb Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
*
@ -40,7 +40,8 @@ extern ASN1_OBJECT *gbr_oid;
* Returns the payload or NULL if the document was malformed.
*/
struct gbr *
gbr_parse(X509 **x509, const char *fn, const unsigned char *der, size_t len)
gbr_parse(X509 **x509, const char *fn, int talid, const unsigned char *der,
size_t len)
{
struct parse p;
struct cert *cert = NULL;