From dfb3cb9579781b60d51565c0ce4f570f8ae5d40f Mon Sep 17 00:00:00 2001 From: Noah <33094578+coolreader18@users.noreply.github.com> Date: Mon, 23 Mar 2020 10:17:02 -0500 Subject: [PATCH] Fix signedness issue --- openssl-sys/src/x509.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl-sys/src/x509.rs b/openssl-sys/src/x509.rs index a3bd9fb0e..99956fb06 100644 --- a/openssl-sys/src/x509.rs +++ b/openssl-sys/src/x509.rs @@ -74,7 +74,7 @@ cfg_if! { stack!(stack_st_X509); -pub type X509_LOOKUP_TYPE = i32; +pub type X509_LOOKUP_TYPE = u32; pub const X509_LU_NONE: X509_LOOKUP_TYPE = 0; pub const X509_LU_X509: X509_LOOKUP_TYPE = 1; pub const X509_LU_CRL: X509_LOOKUP_TYPE = 2; -- GitLab