Lines Matching refs:NULL
125 …NULL ) , 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()
271 return NULL ; in getImplementation()
280 if( m_hProv != NULL ) { in setCryptoProvider()
282 m_hProv = NULL ; in setCryptoProvider()
285 if( aProv != NULL ) { in setCryptoProvider()
311 if( m_hKeyStore != NULL ) { in setCryptoSlot()
313 m_hKeyStore = NULL ; in setCryptoSlot()
316 if( aSlot != NULL ) { in setCryptoSlot()
326 if( m_hCertStore != NULL ) { in setCertDb()
328 m_hCertStore = NULL ; in setCertDb()
331 if( aCertDb != NULL ) { in setCertDb()
340 if( aSymKey != NULL ) { in adoptSymKey()
366 if( aSymKey != NULL ) { in rejectSymKey()
383 symkey = NULL ; in getSymKey()
396 if( aPubKey != NULL ) { in adoptPubKey()
422 if( aPubKey != NULL ) { in rejectPubKey()
439 pubkey = NULL ; in getPubKey()
452 if( aPriKey != NULL ) { in adoptPriKey()
478 if( aPriKey != NULL ) { in rejectPriKey()
495 prikey = NULL ; in getPriKey()
510 PCCERT_CONTEXT pCertContext = NULL; in getPersonalCertificates()
513 if( m_hKeyStore != NULL ) { in getPersonalCertificates()
518 if( xcert != NULL ) in getPersonalCertificates()
545 if( hSystemKeyStore != NULL ) { in getPersonalCertificates()
552 NULL, in getPersonalCertificates()
555 NULL))) in getPersonalCertificates()
565 if( xcert != NULL ) in getPersonalCertificates()
595 X509Certificate_MSCryptImpl *xcert = NULL ; in getCertificate()
596 PCCERT_CONTEXT pCertContext = NULL ; in getCertificate()
597 HCERTSTORE hCertStore = NULL ; in getCertificate()
603 rtl_Locale *pLocale = NULL ; in getCertificate()
616 NULL , in getCertificate()
617 NULL , in getCertificate()
618 &certInfo.Issuer.cbData, NULL ) ) in getCertificate()
620 return NULL ; in getCertificate()
631 NULL , in getCertificate()
633 &certInfo.Issuer.cbData, NULL ) ) in getCertificate()
636 return NULL ; in getCertificate()
659 if(m_hKeyStore == NULL) continue ; in getCertificate()
663 if(m_hCertStore == NULL) continue ; in getCertificate()
668 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
672 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
676 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
680 if(hCertStore == NULL || !m_bEnableDefault) continue ; in getCertificate()
769 NULL in getCertificate()
773 if( pCertContext != NULL ) break ; // Found the certificate. in getCertificate()
780 if( pCertContext != NULL ) { in getCertificate()
784 xcert = NULL ; in getCertificate()
805 enhKeyUsage.rgpszUsageIdentifier = NULL ; in buildCertificatePath()
817 if( xcert == NULL ) { in buildCertificatePath()
823 pChainContext = NULL ; in buildCertificatePath()
826 if( pCertContext != NULL ) in buildCertificatePath()
828 HCERTSTORE hAdditionalStore = NULL; in buildCertificatePath()
829 HCERTSTORE hCollectionStore = NULL; in buildCertificatePath()
836 NULL , in buildCertificatePath()
838 NULL in buildCertificatePath()
840 if (hCollectionStore != NULL) in buildCertificatePath()
858 if (hAdditionalStore == NULL && m_hCertStore) in buildCertificatePath()
860 else if (hAdditionalStore == NULL && m_hKeyStore) in buildCertificatePath()
863 hAdditionalStore = NULL; in buildCertificatePath()
867 NULL , in buildCertificatePath()
869 NULL , //use current system time in buildCertificatePath()
873 NULL , in buildCertificatePath()
876 pChainContext = NULL; in buildCertificatePath()
882 if(bChain && pChainContext != NULL && pChainContext->cChain > 0 ) in buildCertificatePath()
896 pCertInChain = NULL ; in buildCertificatePath()
898 if( pCertInChain != NULL ) { in buildCertificatePath()
900 if( pCert != NULL ) in buildCertificatePath()
906 pChainContext = NULL ; in buildCertificatePath()
922 if( xcert == NULL ) in createCertificateFromRaw()
927 xcert = NULL ; in createCertificateFromRaw()
956 HCERTSTORE store = NULL; in getCertStoreForIntermediatCerts()
958 CERT_STORE_PROV_MEMORY, 0, NULL, 0, NULL); in getCertStoreForIntermediatCerts()
959 if (store == NULL) in getCertStoreForIntermediatCerts()
960 return NULL; in getCertStoreForIntermediatCerts()
974 CertAddCertificateContextToStore(store, cert, CERT_STORE_ADD_ALWAYS, NULL); in getCertStoreForIntermediatCerts()
989 PCCERT_CHAIN_CONTEXT pChainContext = NULL; in verifyCertificate()
990 PCCERT_CONTEXT pCertContext = NULL; in verifyCertificate()
991 const X509Certificate_MSCryptImpl* xcert = NULL; in verifyCertificate()
1003 if( xcert == NULL ) { in verifyCertificate()
1016 enhKeyUsage.rgpszUsageIdentifier = NULL ; in verifyCertificate()
1023 HCERTSTORE hCollectionStore = NULL; in verifyCertificate()
1024 HCERTSTORE hIntermediateCertsStore = NULL; in verifyCertificate()
1026 if( pCertContext != NULL ) in verifyCertificate()
1036 NULL , in verifyCertificate()
1038 NULL in verifyCertificate()
1040 if (hCollectionStore != NULL) in verifyCertificate()
1065 NULL , in verifyCertificate()
1067 NULL , //use current system time in verifyCertificate()
1071 NULL , in verifyCertificate()
1099 pChainContext = NULL; in verifyCertificate()
1102 NULL , in verifyCertificate()
1104 NULL , //use current system time in verifyCertificate()
1108 NULL , in verifyCertificate()
1145 pChainContext = NULL; in verifyCertificate()
1168 if( xcert == NULL ) { in getCertificateCharacters()
1190 NULL , in getCertificateCharacters()
1197 if( hProv != NULL && fCallerFreeProv ) in getCertificateCharacters()
1218 if( cert != NULL ) { in MswcryCertContextToXCert()
1220 if( xcert != NULL ) { in MswcryCertContextToXCert()
1224 xcert = NULL ; in MswcryCertContextToXCert()
1242 xmlSecKeysMngrPtr pKeysMngr = NULL ; in createKeysManager()
1248 if( pKeysMngr == NULL ) in createKeysManager()
1254 for( i = 0 ; ( symKey = getSymKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1263 for( i = 0 ; ( pubKey = getPubKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1272 for( i = 0 ; ( priKey = getPriKey( i ) ) != NULL ; i ++ ) { in createKeysManager()
1284 if( m_hMySystemStore != NULL ) { in createKeysManager()
1287 m_hMySystemStore = NULL; in createKeysManager()
1294 if( m_hRootSystemStore != NULL ) { in createKeysManager()
1297 m_hRootSystemStore = NULL; in createKeysManager()
1304 if( m_hTrustSystemStore != NULL ) { in createKeysManager()
1307 m_hTrustSystemStore = NULL; in createKeysManager()
1314 if( m_hCaSystemStore != NULL ) { in createKeysManager()
1317 m_hCaSystemStore = NULL; in createKeysManager()
1326 if( pKeysMngr != NULL ) { in destroyKeysManager()