Lines Matching refs:NULL

91  *   == NULL  - An error occurred.  Error information (accessible by
93 * != NULL - Points to an ASN1_BMPSTRING structure with the converted
99 ASN1_BMPSTRING *bmp = NULL;
100 uchar_t *uni = NULL;
110 return (NULL);
114 * Adjust for possible pair of NULL bytes at the end because
122 if (bmp == NULL) {
125 return (NULL);
143 * == NULL - An error occurred. Error information (accessible by
145 * != NULL - Points to a NULL-termianted ASCII string. The caller must
153 uchar_t *retstr = NULL;
157 if (ustr == NULL || ustr->type != V_ASN1_UTF8STRING) {
159 return (NULL);
163 tmpstr.data = NULL;
170 return (NULL);
174 if (retstr == NULL) {
176 return (NULL);
205 * - If either the first or second argument is NULL, or if there are no
207 * - If the first argument points to a pointer which is NULL, then there
209 * from the second argument to the first argument and NULL out the stack
228 if (pkeys != NULL && work_kl != NULL && *work_kl != NULL &&
230 if (*pkeys == NULL) {
232 *work_kl = NULL;
240 if (certs != NULL && work_cl != NULL && *work_cl != NULL &&
242 if (*certs == NULL) {
244 *work_cl = NULL;
253 if (cacerts != NULL && work_ca != NULL && *work_ca != NULL &&
255 if (*cacerts == NULL) {
257 *work_ca = NULL;
266 if (xtrakeys != NULL && work_xl != NULL && *work_xl != NULL &&
268 if (*xtrakeys == NULL) {
270 *work_xl = NULL;
331 ASN1_UTF8STRING *ustr = NULL;
335 uchar_t *fname = NULL;
344 chkcerts = (cert != NULL || pkey != NULL) && cl != NULL;
348 if (ustr == NULL) {
353 if (fname == NULL) {
371 if (nid == NID_friendlyName && ustr != NULL) {
372 if (x->aux == NULL || x->aux->alias == NULL)
375 if (s != NULL && s->type == ustr->type &&
376 s->data != NULL) {
380 if (x->aux == NULL || x->aux->keyid == NULL)
383 if (s != NULL && s->type == str->type &&
384 s->data != NULL) {
389 if (cert != NULL)
395 if (ustr != NULL) {
401 if (pkey != NULL && kl != NULL) {
408 if (found != 0 && cert != NULL) {
412 if (pkey != NULL)
416 } else if (cert == NULL) {
419 if (p == NULL || p->attributes == NULL)
423 if (t != NULL || ASN1_STRING_cmp(str,
428 if (pkey != NULL)
456 if (attrs == NULL)
502 nk = (kl != NULL) ? sk_EVP_PKEY_num(kl) : 0;
503 nc = (cl != NULL) ? sk_X509_num(cl) : 0;
505 if (pkey != NULL && *pkey == NULL) {
508 if (*pkey != NULL)
513 if (cert != NULL && *cert == NULL) {
516 if (*cert != NULL)
533 * NULL An error occurred.
534 * != NULL An X509_ATTRIBUTE structure.
541 if ((a = X509_ATTRIBUTE_new()) == NULL ||
542 (a->value.set = sk_ASN1_TYPE_new_null()) == NULL ||
544 if (a != NULL)
547 return (NULL);
563 * NULL An error occurred.
564 * != NULL An ASN1_TYPE structure.
569 ASN1_TYPE *ty = NULL;
571 if (attr == NULL || attr->single == 1)
572 return (NULL);
628 if ((bp = BIO_new(BIO_s_file())) == NULL) {