Lines Matching full:x509
1 /* crypto/x509/x509_lu.c */
64 #include <openssl/x509.h>
171 ret=X509_subject_name_cmp((*a)->data.x509,(*b)->data.x509);
223 X509_free(a->data.x509);
344 int X509_STORE_add_cert(X509_STORE *ctx, X509 *x)
353 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
357 obj->data.x509=x;
367 OPENSSL_PUT_ERROR(X509, X509_R_CERT_ALREADY_IN_HASH_TABLE);
386 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
400 OPENSSL_PUT_ERROR(X509, X509_R_CERT_ALREADY_IN_HASH_TABLE);
415 X509_up_ref(a->data.x509);
428 X509_free(a->data.x509);
440 X509 x509_s;
449 stmp.data.x509= &x509_s;
501 STACK_OF(X509)* X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm)
504 STACK_OF(X509) *sk;
505 X509 *x;
537 x = obj->data.x509;
611 if (!X509_cmp(obj->data.x509, x->data.x509))
637 int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
650 OPENSSL_PUT_ERROR(X509, X509_R_SHOULD_RETRY);
662 if (ctx->check_issued(ctx, x, obj.data.x509))
664 *issuer = obj.data.x509;
682 if (X509_NAME_cmp(xn, X509_get_subject_name(pobj->data.x509)))
684 if (ctx->check_issued(ctx, x, pobj->data.x509))
686 *issuer = pobj->data.x509;