[PATCH] secur32: Add support for SECPKG_ATTR_KEY_INFO.

Jacek Caban jacek at codeweavers.com
Mon Apr 24 10:31:44 CDT 2017

From: Akihiro Sagawa <sagawa.aki at gmail.com>

Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>

I simplified get_alg_name. Although in this version ALG_ID was used as a 
key, comparison function was assuming full struct and it worked only 
because its layout allowed it. Anyway, I think that avoiding bsearch is 
even better. Keeping CALG_* sorted is non-trivial and we don't really 
need to optimize it (and I'm not sure bsearch is faster in this case 

  dlls/secur32/schannel.c        | 53 
  dlls/secur32/schannel_gnutls.c | 21 +++++++++++++++++
  dlls/secur32/schannel_macosx.c |  6 +++++
  dlls/secur32/secur32_priv.h    |  1 +
  dlls/secur32/tests/schannel.c  |  2 +-
  5 files changed, 82 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-secur32-Add-support-for-SECPKG_ATTR_KEY_INFO.diff
Type: text/x-patch
Size: 6500 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170424/2031e5ee/attachment.bin>

More information about the wine-patches mailing list