Lines Matching refs:NULL

56                                  NULL, NULL, NULL);
84 if ((bioS=BIO_new_file(filename, "r")) == NULL)
85 return NULL;
89 if (rc == NULL) {
91 if ((bioS = BIO_new_file(filename, "r")) == NULL)
92 return NULL;
94 if ((bioF = BIO_new(BIO_f_base64())) == NULL) {
96 return NULL;
99 rc = d2i_PrivateKey_bio(bioS, NULL);
102 if (rc == NULL) {
104 if ((bioS = BIO_new_file(filename, "r")) == NULL)
105 return NULL;
106 rc = d2i_PrivateKey_bio(bioS, NULL);
110 if (rc != NULL && key != NULL) {
111 if (*key != NULL)
167 BIGNUM *bn = NULL;
170 bc = X509_get_ext_d2i(cert, NID_basic_constraints, NULL, NULL);
171 if (bc == NULL)
175 if (bc->pathlen != NULL) {
176 if ((bn = ASN1_INTEGER_to_BN(bc->pathlen, NULL)) == NULL) {
180 if ((cp = BN_bn2dec(bn)) == NULL) {
196 char *result = NULL;
200 if ((bio = BIO_new(BIO_s_mem())) == NULL)
201 return NULL;
229 char *result = NULL;
233 if ((bio = BIO_new(BIO_s_mem())) == NULL)
234 return NULL;
269 *entries = NULL;
273 if ((names = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL, NULL))) {
324 *ids = NULL;
341 * If server_rec is non-NULL, some (debug/trace) logging is enabled.
437 PEM_X509_INFO_read_bio(in, sk, NULL, NULL);
469 NULL);
489 DH *dh = NULL;
492 if ((bio = BIO_new_file(file, "r")) == NULL)
493 return NULL;
494 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
502 EC_GROUP *group = NULL;
505 if ((bio = BIO_new_file(file, "r")) == NULL)
506 return NULL;
507 group = PEM_read_bio_ECPKParameters(bio, NULL, NULL, NULL);
532 if ((bio = BIO_new(BIO_s_file_internal())) == NULL)
540 if ((x509 = PEM_read_bio_X509(bio, NULL, cb, NULL)) == NULL) {
550 if (ctx->extra_certs != NULL) {
552 ctx->extra_certs = NULL;
557 while ((x509 = PEM_read_bio_X509(bio, NULL, cb, NULL)) != NULL) {
591 * destination buffer, including terminating NULL */