Use fips-build-compatible ERR_add_error_data
This commit is contained in:
parent
7cb075cc6f
commit
3cf9b4f943
@ -193,7 +193,7 @@ impl Error {
|
||||
self.line,
|
||||
);
|
||||
if let Some(cstr) = self.data_cstr() {
|
||||
ffi::ERR_set_error_data(cstr.as_ptr().cast_mut(), ffi::ERR_FLAG_STRING);
|
||||
ffi::ERR_add_error_data(1, cstr.as_ptr().cast_mut());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user