Initialized ekcertlen with 0
authorSansar Choinyambuu <schoinya@hsr.ch>
Fri, 2 Sep 2011 06:51:04 +0000 (08:51 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 8 Sep 2011 10:08:16 +0000 (12:08 +0200)
src/libimcv/tcg/pts/pts.c

index 64ec550..2921774 100644 (file)
@@ -297,7 +297,7 @@ static bool obtain_aik(private_pts_t *this)
        UINT32          credBufSize;
        static int      level = 0;
        BYTE            *ekCert = NULL;
-       UINT32          ekCertLen;
+       UINT32          ekCertLen = 0;
        char            url[128];
        int             result;