Use fips-build-compatible ERR_add_error_data
This commit is contained in:
parent
97aa4a987e
commit
16290eb11b
@ -183,7 +183,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