Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cipher/rsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3612,6 +3612,7 @@ wc_rsa_verify (gcry_sexp_t s_sig, gcry_sexp_t s_data, gcry_sexp_t keyparms)
case PUBKEY_ENC_PKCS1:
case PUBKEY_ENC_RAW:
case PUBKEY_ENC_OAEP:
case PUBKEY_ENC_UNKNOWN: /* GnuPG OpenPGP verify supplies the full encoded message and libgcrypt leaves encoding UNKNOWN; stock libgcrypt does the raw mpi_cmp for all non-PSS encodings, so handle it here instead of falling to default->BAD. */
/* Allocate a buffer for the output */
myDataLen = mySigLen;

Expand Down