Codebase list openssl / 5d8ad7d
test/evp_extra_test.c: Peek at the error instead of getting it. If there is an error report, we want to get it printed too. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15604) Richard Levitte 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
12931293 || !TEST_int_gt(BIO_get_mem_data(membio, &membuf), 0)
12941294 || !TEST_ptr(p8inf = d2i_PKCS8_PRIV_KEY_INFO_bio(membio, NULL))
12951295 || !TEST_ptr(pkey2 = EVP_PKCS82PKEY(p8inf))
1296 || !TEST_int_eq(ERR_get_error(), 0)) {
1296 || !TEST_int_eq(ERR_peek_last_error(), 0)) {
12971297 goto done;
12981298 }
12991299