Lines Matching refs:NULL

125NULL ) , m_pszContainer( NULL ) , m_hKeyStore( NULL ), m_hCertStore( NULL ), m_tSymKeyList() , m_t…  in SecurityEnvironment_MSCryptImpl()
131 if( m_hProv != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
133 m_hProv = NULL ; in ~SecurityEnvironment_MSCryptImpl()
136 if( m_pszContainer != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
138 m_pszContainer = NULL ; in ~SecurityEnvironment_MSCryptImpl()
141 if( m_hCertStore != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
143 m_hCertStore = NULL ; in ~SecurityEnvironment_MSCryptImpl()
146 if( m_hKeyStore != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
148 m_hKeyStore = NULL ; in ~SecurityEnvironment_MSCryptImpl()
152 if( m_hMySystemStore != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
154 m_hMySystemStore = NULL ; in ~SecurityEnvironment_MSCryptImpl()
157 if( m_hRootSystemStore != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
159 m_hRootSystemStore = NULL ; in ~SecurityEnvironment_MSCryptImpl()
162 if( m_hTrustSystemStore != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
164 m_hTrustSystemStore = NULL ; in ~SecurityEnvironment_MSCryptImpl()
167 if( m_hCaSystemStore != NULL ) { in ~SecurityEnvironment_MSCryptImpl()
169 m_hCaSystemStore = NULL ; in ~SecurityEnvironment_MSCryptImpl()
272 return NULL ; in getImplementation()
281 if( m_hProv != NULL ) { in setCryptoProvider()
283 m_hProv = NULL ; in setCryptoProvider()
286 if( aProv != NULL ) { in setCryptoProvider()
312 if( m_hKeyStore != NULL ) { in setCryptoSlot()
314 m_hKeyStore = NULL ; in setCryptoSlot()
317 if( aSlot != NULL ) { in setCryptoSlot()
327 if( m_hCertStore != NULL ) { in setCertDb()
329 m_hCertStore = NULL ; in setCertDb()
332 if( aCertDb != NULL ) { in setCertDb()
341 if( aSymKey != NULL ) { in adoptSymKey()
367 if( aSymKey != NULL ) { in rejectSymKey()
384 symkey = NULL ; in getSymKey()
397 if( aPubKey != NULL ) { in adoptPubKey()
423 if( aPubKey != NULL ) { in rejectPubKey()
440 pubkey = NULL ; in getPubKey()
453 if( aPriKey != NULL ) { in adoptPriKey()
479 if( aPriKey != NULL ) { in rejectPriKey()
496 prikey = NULL ; in getPriKey()
511 PCCERT_CONTEXT pCertContext = NULL; in getPersonalCertificates()
514 if( m_hKeyStore != NULL ) { in getPersonalCertificates()
519 if( xcert != NULL ) in getPersonalCertificates()
546 if( hSystemKeyStore != NULL ) { in getPersonalCertificates()
553 NULL, in getPersonalCertificates()
556 NULL))) in getPersonalCertificates()
566 if( xcert != NULL ) in getPersonalCertificates()
596 X509Certificate_MSCryptImpl *xcert = NULL ; in getCertificate()
597 PCCERT_CONTEXT pCertContext = NULL ; in getCertificate()
598 HCERTSTORE hCertStore = NULL ; in getCertificate()
604 rtl_Locale *pLocale = NULL ; in getCertificate()
617 NULL , in getCertificate()
618 NULL , in getCertificate()
619 &certInfo.Issuer.cbData, NULL ) ) in getCertificate()
621 return NULL ; in getCertificate()
632 NULL , in getCertificate()
634 &certInfo.Issuer.cbData, NULL ) ) in getCertificate()
637 return NULL ; in getCertificate()
660 if(m_hKeyStore == NULL) continue ; in getCertificate()
664 if(m_hCertStore == NULL) continue ; in getCertificate()
669 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
673 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
677 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
681 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
770 NULL in getCertificate()
774 if( pCertContext != NULL ) break ; // Found the certificate. in getCertificate()
781 if( pCertContext != NULL ) { in getCertificate()
785 xcert = NULL ; in getCertificate()
806 enhKeyUsage.rgpszUsageIdentifier = NULL ; in buildCertificatePath()
818 if( xcert == NULL ) { in buildCertificatePath()
824 pChainContext = NULL ; in buildCertificatePath()
827 if( pCertContext != NULL ) in buildCertificatePath()
829 HCERTSTORE hAdditionalStore = NULL; in buildCertificatePath()
830 HCERTSTORE hCollectionStore = NULL; in buildCertificatePath()
837 NULL , in buildCertificatePath()
839 NULL in buildCertificatePath()
841 if (hCollectionStore != NULL) in buildCertificatePath()
859 if (hAdditionalStore == NULL && m_hCertStore) in buildCertificatePath()
861 else if (hAdditionalStore == NULL && m_hKeyStore) in buildCertificatePath()
864 hAdditionalStore = NULL; in buildCertificatePath()
868 NULL , in buildCertificatePath()
870 NULL , //use current system time in buildCertificatePath()
874 NULL , in buildCertificatePath()
877 pChainContext = NULL; in buildCertificatePath()
883 if(bChain && pChainContext != NULL && pChainContext->cChain > 0 ) in buildCertificatePath()
897 pCertInChain = NULL ; in buildCertificatePath()
899 if( pCertInChain != NULL ) { in buildCertificatePath()
901 if( pCert != NULL ) in buildCertificatePath()
907 pChainContext = NULL ; in buildCertificatePath()
923 if( xcert == NULL ) in createCertificateFromRaw()
928 xcert = NULL ; in createCertificateFromRaw()
957 HCERTSTORE store = NULL; in getCertStoreForIntermediatCerts()
959 CERT_STORE_PROV_MEMORY, 0, NULL, 0, NULL); in getCertStoreForIntermediatCerts()
960 if (store == NULL) in getCertStoreForIntermediatCerts()
961 return NULL; in getCertStoreForIntermediatCerts()
975 CertAddCertificateContextToStore(store, cert, CERT_STORE_ADD_ALWAYS, NULL); in getCertStoreForIntermediatCerts()
991 PCCERT_CHAIN_CONTEXT pChainContext = NULL; in verifyCertificate()
992 PCCERT_CONTEXT pCertContext = NULL; in verifyCertificate()
993 const X509Certificate_MSCryptImpl* xcert = NULL; in verifyCertificate()
1005 if( xcert == NULL ) { in verifyCertificate()
1018 enhKeyUsage.rgpszUsageIdentifier = NULL ; in verifyCertificate()
1025 HCERTSTORE hCollectionStore = NULL; in verifyCertificate()
1026 HCERTSTORE hIntermediateCertsStore = NULL; in verifyCertificate()
1028 if( pCertContext != NULL ) in verifyCertificate()
1038 NULL , in verifyCertificate()
1040 NULL in verifyCertificate()
1042 if (hCollectionStore != NULL) in verifyCertificate()
1067 NULL , in verifyCertificate()
1069 NULL , //use current system time in verifyCertificate()
1073 NULL , in verifyCertificate()
1101 pChainContext = NULL; in verifyCertificate()
1104 NULL , in verifyCertificate()
1106 NULL , //use current system time in verifyCertificate()
1110 NULL , in verifyCertificate()
1147 pChainContext = NULL; in verifyCertificate()
1170 if( xcert == NULL ) { in getCertificateCharacters()
1192 NULL , in getCertificateCharacters()
1199 if( hProv != NULL && fCallerFreeProv ) in getCertificateCharacters()
1220 if( cert != NULL ) { in MswcryCertContextToXCert()
1222 if( xcert != NULL ) { in MswcryCertContextToXCert()
1226 xcert = NULL ; in MswcryCertContextToXCert()
1244 xmlSecKeysMngrPtr pKeysMngr = NULL ; in createKeysManager()
1250 if( pKeysMngr == NULL ) in createKeysManager()
1256 for( i = 0 ; ( symKey = getSymKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1265 for( i = 0 ; ( pubKey = getPubKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1274 for( i = 0 ; ( priKey = getPriKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1286 if( m_hMySystemStore != NULL ) { in createKeysManager()
1289 m_hMySystemStore = NULL; in createKeysManager()
1296 if( m_hRootSystemStore != NULL ) { in createKeysManager()
1299 m_hRootSystemStore = NULL; in createKeysManager()
1306 if( m_hTrustSystemStore != NULL ) { in createKeysManager()
1309 m_hTrustSystemStore = NULL; in createKeysManager()
1316 if( m_hCaSystemStore != NULL ) { in createKeysManager()
1319 m_hCaSystemStore = NULL; in createKeysManager()
1328 if( pKeysMngr != NULL ) { in destroyKeysManager()