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 97aa4a987e
commit 16290eb11b

View File

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