tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
avoid uninitialised variable use found with smatch, ok tb@
jsg
7 months ago
30b4cc53
215cefe5
+2
-2
1 changed file
expand all
collapse all
unified
split
sbin
iked
ca.c
+2
-2
sbin/iked/ca.c
reviewed
···
1
1
-
/* $OpenBSD: ca.c,v 1.104 2025/09/04 10:55:19 yasuoka Exp $ */
1
1
+
/* $OpenBSD: ca.c,v 1.105 2025/09/08 10:18:23 jsg Exp $ */
2
2
3
3
/*
4
4
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
···
1881
1881
const char *errstr = "failed";
1882
1882
X509_NAME *subj;
1883
1883
char *subj_name;
1884
1884
-
int depth;
1884
1884
+
int depth = -1;
1885
1885
1886
1886
if (issuerp)
1887
1887
*issuerp = NULL;