From 8cac1fd1b9c521efb742a1014471e8563b2d6426 Mon Sep 17 00:00:00 2001 From: Alex Voloshyn Date: Thu, 23 Apr 2020 09:35:43 -0700 Subject: [PATCH] fix for type mismatch for java/android builds --- mbedtls/src/pk/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbedtls/src/pk/mod.rs b/mbedtls/src/pk/mod.rs index 5ee7f495..8b28004b 100644 --- a/mbedtls/src/pk/mod.rs +++ b/mbedtls/src/pk/mod.rs @@ -123,7 +123,7 @@ const CUSTOM_PK_INFO: pk_info_t = { sign_func: None, verify_func: None, get_bitlen: None, - name: b"\0" as *const u8 as *const i8, + name: b"\0" as *const u8 as *const mbedtls_sys::types::raw_types::c_char, ctx_alloc_func: Some(alloc_custom_pk_ctx), ctx_free_func: Some(free_custom_pk_ctx), }