ERR_get_error(3) references the non-existent ERR_get_last_error_line_data instead of the one that does exist, ERR_peek_last_error_line_data.
I also double checked crypto/err/err.{c,h} had ERR_peek_last_error_line_data but not ERR_get_last_error_line_data.
openssl-err-get-error.patch
Description: Binary data