Merge pull request #322 from operutka/master
Fix regression of c_char type mismatches on ARM
This commit is contained in:
commit
39ea7e9636
|
|
@ -951,7 +951,7 @@ impl Ssl {
|
||||||
return None;
|
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
|
/// change the context corresponding to the current connection
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue