Chip Davis : secur32: Use the SecItemExport() function.
Alexandre Julliard
julliard at winehq.org
Tue Sep 28 16:01:56 CDT 2021
Module: wine
Branch: master
Commit: 699fc68f2adb7df3fed021459955289b0dc34dd0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=699fc68f2adb7df3fed021459955289b0dc34dd0
Author: Chip Davis <cdavis at codeweavers.com>
Date: Mon Sep 27 15:59:25 2021 -0500
secur32: Use the SecItemExport() function.
Signed-off-by: Chip Davis <cdavis at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/secur32/schannel_macosx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/secur32/schannel_macosx.c b/dlls/secur32/schannel_macosx.c
index d7453a44816..2f802f96686 100644
--- a/dlls/secur32/schannel_macosx.c
+++ b/dlls/secur32/schannel_macosx.c
@@ -1085,7 +1085,7 @@ static SECURITY_STATUS CDECL schan_get_session_peer_certificate(schan_session se
for (i = 0; i < list->count; i++)
{
if (!(cert = (SecCertificateRef)CFArrayGetValueAtIndex(cert_array, i)) ||
- (SecKeychainItemExport(cert, kSecFormatX509Cert, 0, NULL, &data) != noErr))
+ (SecItemExport(cert, kSecFormatX509Cert, 0, NULL, &data) != noErr))
{
WARN("Couldn't extract certificate data\n");
ret = SEC_E_INTERNAL_ERROR;
More information about the wine-cvs
mailing list