secur32: Better deal with the lack of gnutls_mac_get_key_size().

Francois Gouget fgouget at codeweavers.com
Wed Mar 25 09:41:00 CDT 2009


Henri Verbeet a écrit :
[...]
> SECPKG_ATTR_STREAM_SIZES is used to determine the buffer sizes passed
> to EncryptMessage() and DecryptMessage(), so it probably doesn't help
> much to return SEC_E_UNSUPPORTED_FUNCTION for that one.

Ok, Iĺl resubmit my patch keeping the check for the presence of 
gnutls_mac_get_key_size() so that the runtime behavior is unchanged 
compared to the current situation.

My main goal is to be able to _compile_ secur32.dll with old GnuTLS 
libraries. That way I get binaries that can work pretty much everywhere. 
I don't care as much about providing the full or even partial 
secur32.dll functionality when all that's available at runtime is an old 
GnuTLS library.

But someone working on the applications that require secur32.dll might...

-- 
Francois Gouget
fgouget at codeweavers.com




More information about the wine-patches mailing list