Lines Matching defs:crt
44 #define DFL_FILENAME "cert.crt"
65 " filename=%%s default: cert.crt\n" \
99 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags)
105 mbedtls_x509_crt_info(buf, sizeof(buf) - 1, "", crt);
265 mbedtls_x509_crt crt;
266 mbedtls_x509_crt *cur = &crt;
267 mbedtls_x509_crt_init(&crt);
275 ret = mbedtls_x509_crt_parse_file(&crt, opt.filename);
279 mbedtls_x509_crt_free(&crt);
287 mbedtls_x509_crt_free(&crt);
302 mbedtls_x509_crt_free(&crt);
317 if ((ret = mbedtls_x509_crt_verify(&crt, &cacert, &cacrl, NULL, &flags,
331 mbedtls_x509_crt_free(&crt);