Lines Matching refs:nullptr

79     if (x509Store == nullptr)  in validateCertificate()
87 if (storeCtx == nullptr) in validateCertificate()
94 int errCode = X509_STORE_CTX_init(storeCtx, x509Store, cert, nullptr); in validateCertificate()
158 EVP_PKEY* pkey = PEM_read_bio_PrivateKey(bufio, nullptr, nullptr, nullptr); in verifyOpensslKeyCert()
160 if (pkey != nullptr) in verifyOpensslKeyCert()
163 EVP_PKEY_CTX_new_from_pkey(nullptr, pkey, nullptr); in verifyOpensslKeyCert()
165 if (pkeyCtx == nullptr) in verifyOpensslKeyCert()
183 X509* x509 = PEM_read_bio_X509(bufio2, nullptr, nullptr, nullptr); in verifyOpensslKeyCert()
185 if (x509 == nullptr) in verifyOpensslKeyCert()
209 if (certFileBio == nullptr) in loadCert()
213 return nullptr; in loadCert()
217 if (cert == nullptr) in loadCert()
222 return nullptr; in loadCert()
225 if (PEM_read_bio_X509(certFileBio, &cert, nullptr, nullptr) == nullptr) in loadCert()
232 return nullptr; in loadCert()
240 X509_EXTENSION* ex = nullptr; in addExt()
242 X509V3_set_ctx(&ctx, cert, cert, nullptr, nullptr, 0); in addExt()
245 ex = X509V3_EXT_conf_nid(nullptr, &ctx, nid, const_cast<char*>(value)); in addExt()
246 if (ex == nullptr) in addExt()
277 if (pPrivKey != nullptr) in generateSslCertificate()
282 if (x509 != nullptr) in generateSslCertificate()
338 bufio, pPrivKey, nullptr, nullptr, 0, nullptr, nullptr); in generateSslCertificate()
345 char* data = nullptr; in generateSslCertificate()
366 pPrivKey = nullptr; in generateSslCertificate()
375 EVP_PKEY* pKey = nullptr; in createEcKey()
379 EVP_PKEY_CTX_new_id(EVP_PKEY_EC, nullptr), &::EVP_PKEY_CTX_free}; in createEcKey()
382 return nullptr; in createEcKey()
386 EVP_PKEY* params = nullptr; in createEcKey()
394 return nullptr; in createEcKey()
402 ctx.reset(EVP_PKEY_CTX_new_from_pkey(nullptr, params, nullptr)); in createEcKey()
405 return nullptr; in createEcKey()
411 return nullptr; in createEcKey()
543 return nullptr; in getSslServerContext()
559 return nullptr; in getSslServerContext()
568 nextProtoCallback, nullptr); in getSslServerContext()
571 alpnSelectProtoCallback, nullptr); in getSslServerContext()