gnutls/gnutls-3.3.9-get-issuer.patch

13 lines
358 B
Diff
Raw Normal View History

diff --git a/lib/x509/verify-high.c b/lib/x509/verify-high.c
index d570f2e..784aa80 100644
--- a/lib/x509/verify-high.c
+++ b/lib/x509/verify-high.c
@@ -766,6 +766,7 @@ int gnutls_x509_trust_list_get_issuer(gnutls_x509_trust_list_t list,
gnutls_x509_crt_deinit(crt);
return gnutls_assert_val(ret);
}
+ *issuer = crt;
return ret;
}
}