Searched refs:x509 (Results 1 – 2 of 2) sorted by relevance
/scripts/ |
D | extract-cert.c | 85 static void write_cert(X509 *x509) in write_cert() argument 93 X509_NAME_oneline(X509_get_subject_name(x509), buf, sizeof(buf)); in write_cert() 94 ERR(!i2d_X509_bio(wb, x509), "%s", cert_dst); in write_cert() 153 X509 *x509; in main() local 159 x509 = PEM_read_bio_X509(b, NULL, NULL, NULL); in main() 160 if (wb && !x509) { in main() 168 ERR(!x509, "%s", cert_src); in main() 169 write_cert(x509); in main()
|
D | sign-file.c | 180 X509 *x509; in read_x509() local 205 x509 = d2i_X509_bio(b, NULL); in read_x509() 208 x509 = PEM_read_bio_X509(b, NULL, NULL, NULL); in read_x509() 211 ERR(!x509, "%s", x509_name); in read_x509() 213 return x509; in read_x509() 236 X509 *x509; in main() local 305 x509 = read_x509(x509_name); in main() 320 ERR(!CMS_add1_signer(cms, x509, private_key, digest_algo, in main() 329 pkcs7 = PKCS7_sign(x509, private_key, NULL, bm, in main()
|