secur32: Use the SecItemExport() function.
Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6eab45621c
commit
699fc68f2a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue