crypt32(5/8): Set output chain to NULL

Juan Lang juan.lang at gmail.com
Tue Aug 14 17:42:47 CDT 2007


--Juan
-------------- next part --------------
From 78f5756bbe3260fff9e4f951836bb3540f9a1c73 Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Tue, 14 Aug 2007 14:35:31 -0700
Subject: [PATCH] Set output chain to NULL
---
 dlls/crypt32/chain.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c
index a244715..127739a 100644
--- a/dlls/crypt32/chain.c
+++ b/dlls/crypt32/chain.c
@@ -180,6 +180,8 @@ BOOL WINAPI CertGetCertificateChain(HCER
      pCertContext, pTime, hAdditionalStore, pChainPara, dwFlags, pvReserved,
      ppChainContext);
 
+    if (ppChainContext)
+        *ppChainContext = NULL;
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return FALSE;
 }
-- 
1.4.1


More information about the wine-patches mailing list