http://bugs.winehq.org/show_bug.cgi?id=59613 Bug ID: 59613 Summary: case 64 is missing in key_asymmetric_verify function Product: Wine Version: 11.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: bcrypt Assignee: wine-bugs@list.winehq.org Reporter: bugs.winehq.org.patronize755@passmail.net Distribution: --- Created attachment 80675 --> http://bugs.winehq.org/attachment.cgi?id=80675 key_asymmetric_verify During a personal project I had to use a verification key using the protocol ECDSA_P521_SHA512. However, in wine it is set to sign with key_asymmetric_sign(), where the case 64 is set : "case 64: hash_alg = GNUTLS_DIG_SHA512; break;" But doesn't seems to verify in the function key_asymmetric_verify where the case 64 is missing I could get these errors (see attachment) I could fix with the following patch : diff --git a/dlls/bcrypt/gnutls.c b/dlls/bcrypt/gnutls.c @@ -2359,6 +2359,7 @@ case 20: hash_alg = GNUTLS_DIG_SHA1; break; case 32: hash_alg = GNUTLS_DIG_SHA256; break; case 48: hash_alg = GNUTLS_DIG_SHA384; break; + case 64: hash_alg = GNUTLS_DIG_SHA512; break; default: FIXME( "hash size %u not yet supported\n", params->hash_len ); -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.