Skip to content

Commit 58bc456

Browse files
committed
Allow verification of an intermediate certificate using local root store
1 parent fdcaf73 commit 58bc456

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Verify.xs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ SV * new(class, ...)
276276
if (ST(1) != NULL)
277277
// TODO: ensure_string_sv
278278
CAfile = ST(1);
279+
if (strlen(SvPV_nolen(CAfile)) == 0)
280+
CAfile = NULL;
279281

280282
if (items > 2)
281283
options = ensure_hv(ST(2), "options");

0 commit comments

Comments
 (0)