Re: [PATCH v3 0/1] MR10222: bcrypt: Improve RSA OAEP parameter handling.
Hans Leidekker (@hans) commented about dlls/bcrypt/gnutls.c:
return STATUS_INVALID_PARAMETER; } + if ((dig = get_digest_from_id( pad->pszAlgId )) == GNUTLS_DIG_UNKNOWN) { FIXME( "hash algorithm %s not recognized\n", debugstr_w(pad->pszAlgId) ); return STATUS_NOT_SUPPORTED; }
- label.data = pad->pbLabel; - label.size = pad->cbLabel; - if ((status = privkey_set_rsa_oaep_params( key_data(params->key)->a.privkey, dig, &label ))) return status; + /* Only set OAEP SPKI params for non-empty labels. + * For empty labels, use backend defaults for compatibility. */ + if (pad->pbLabel && pad->cbLabel) + {
Same here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10222#note_130898
participants (1)
-
Hans Leidekker (@hans)