diff options
| author | Yang Tse <yangsita@gmail.com> | 2012-04-16 22:37:12 +0200 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2012-04-16 22:37:12 +0200 | 
| commit | a498daa0e0793ef0529b61ba1df31aeb9057d33c (patch) | |
| tree | c92f9f1bf998de59bf9410b8586b47e1223a7e0b | |
| parent | bd12c44d355dcdcb7d094717b2139cec09a3a4c0 (diff) | |
nss.c: fix compiler warning
| -rw-r--r-- | lib/nss.c | 3 | 
1 files changed, 2 insertions, 1 deletions
@@ -882,10 +882,11 @@ isTLSIntoleranceError(PRInt32 err)  static CURLcode nss_init_core(struct SessionHandle *data, const char *cert_dir)  {  #ifdef HAVE_NSS_INITCONTEXT +  NSSInitParameters initparams; +    if(nss_context != NULL)      return CURLE_OK; -  NSSInitParameters initparams;    memset((void *) &initparams, '\0', sizeof(initparams));    initparams.length = sizeof(initparams);  #else /* HAVE_NSS_INITCONTEXT */  | 
