Skip to content

Commit

Permalink
Fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WillChilds-Klein committed Nov 25, 2024
1 parent f95b3f7 commit 66f4dc7
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 399 deletions.
10 changes: 0 additions & 10 deletions crypto/fipsmodule/rsa/rsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,16 +969,6 @@ int rsa_verify_no_self_test(int hash_nid, const uint8_t *digest,

// Check that the computed hash matches the expected hash
if (OPENSSL_memcmp(buf, signed_msg, len) != 0) {
printf("BUF 1: ");
for (size_t ii = 0; ii < len; ii++) {
printf("%02X", (unsigned)buf[ii]);
}
printf("\n");
printf("BUF 2: ");
for (size_t ii = 0; ii < len; ii++) {
printf("%02X", (unsigned)signed_msg[ii]);
}
printf("\n");
OPENSSL_PUT_ERROR(RSA, RSA_R_MISMATCHED_SIGNATURE);
goto out;
}
Expand Down
339 changes: 0 additions & 339 deletions crypto/pkcs7/bio/cipher_test.cc

This file was deleted.

2 changes: 1 addition & 1 deletion crypto/pkcs7/pkcs7.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ OPENSSL_END_ALLOW_DEPRECATED
continue;
}
int sign_nid = OBJ_obj2nid(si->digest_alg->algorithm);
bio_tmp = pkcs7_find_digest(&md_ctx, bio_tmp, sign_nid);
bio_tmp = pkcs7_find_digest(&md_ctx, bio, sign_nid);
if (bio_tmp == NULL) {
goto err;
}
Expand Down
Loading

0 comments on commit 66f4dc7

Please sign in to comment.