Commit 02d2230a authored by Ondrej Perutka's avatar Ondrej Perutka
Browse files

Fix regression of c_char type mismatches on ARM

parent 157e6aa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -951,7 +951,7 @@ impl Ssl {
            return None;
        }

        unsafe { String::from_utf8(CStr::from_ptr(name).to_bytes().to_vec()).ok() }
        unsafe { String::from_utf8(CStr::from_ptr(name as *const _).to_bytes().to_vec()).ok() }
    }

    /// change the context corresponding to the current connection