Use fips-build-compatible ERR_add_error_data

This commit is contained in:
Kornel 2026-01-19 22:41:46 +00:00 committed by Kornel
parent 7cb075cc6f
commit 3cf9b4f943

View File

@ -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());
}
}
}