Commit 39ea7e96 authored by Steven Fackler's avatar Steven Fackler
Browse files

Merge pull request #322 from operutka/master

Fix regression of c_char type mismatches on ARM
parents 157e6aa9 02d2230a
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