Lines Matching refs:cert
169 lwsl_info("%s: cert public key extraction failed\n",
355 return lws_tls_openssl_cert_info(x509->cert, type, buf, len);
388 lwsl_debug("no peer cert\n");
413 (*x509)->cert = NULL;
424 x509->cert = PEM_read_bio_X509(bio, NULL, NULL, NULL);
426 if (!x509->cert) {
427 lwsl_err("%s: unable to parse PEM cert\n", __func__);
444 X509_NAME *xn = X509_get_subject_name(x509->cert);
460 ret = X509_check_issued(trusted->cert, x509->cert);
462 lwsl_err("%s: unable to verify cert relationship\n", __func__);
488 pubkey = X509_get_X509_PUBKEY(x509->cert);
490 lwsl_err("%s: missing pubkey alg in cert\n", __func__);
496 lwsl_err("%s: missing pubkey alg in cert\n", __func__);
503 lwsl_err("%s: missing pubkey alg in cert\n", __func__);
510 pkey = X509_get_pubkey(x509->cert);
766 /* then check that n & e match what we got from the cert */
839 if ((*x509)->cert) {
840 X509_free((*x509)->cert);
841 (*x509)->cert = NULL;