Lines Matching refs:cert
492 X509* cert = d2i_X509(NULL, &bufp, sizeof(kCertificateDER)); in LLVMFuzzerInitialize() local
493 assert(cert != NULL); in LLVMFuzzerInitialize()
494 ret = SSL_CTX_use_certificate(ctx, cert); in LLVMFuzzerInitialize()
496 X509_free(cert); in LLVMFuzzerInitialize()
508 cert = d2i_X509(NULL, &bufp, sizeof(kRSACACertDER)); in LLVMFuzzerInitialize()
509 assert(cert != NULL); in LLVMFuzzerInitialize()
510 ret = SSL_CTX_add_client_CA(ctx, cert); in LLVMFuzzerInitialize()
512 ret = X509_STORE_add_cert(store, cert); in LLVMFuzzerInitialize()
514 X509_free(cert); in LLVMFuzzerInitialize()
517 cert = d2i_X509(NULL, &bufp, sizeof(kECCACertDER)); in LLVMFuzzerInitialize()
518 assert(cert != NULL); in LLVMFuzzerInitialize()
519 ret = SSL_CTX_add_client_CA(ctx, cert); in LLVMFuzzerInitialize()
521 ret = X509_STORE_add_cert(store, cert); in LLVMFuzzerInitialize()
523 X509_free(cert); in LLVMFuzzerInitialize()
526 cert = d2i_X509(NULL, &bufp, sizeof(kDSACertDER)); in LLVMFuzzerInitialize()
527 ret = SSL_CTX_add_client_CA(ctx, cert); in LLVMFuzzerInitialize()
529 ret = X509_STORE_add_cert(store, cert); in LLVMFuzzerInitialize()
531 X509_free(cert); in LLVMFuzzerInitialize()