Searched refs:new_cert (Results 1 – 1 of 1) sorted by last modified time
/PHP-8.1/ext/openssl/ |
H A D | openssl.c | 3270 X509 *cert = NULL, *new_cert = NULL; in PHP_FUNCTION() local 3340 new_cert = X509_new(); in PHP_FUNCTION() 3341 if (new_cert == NULL) { in PHP_FUNCTION() 3347 if (!X509_set_version(new_cert, 2)) { in PHP_FUNCTION() 3360 cert = new_cert; in PHP_FUNCTION() 3366 X509_gmtime_adj(X509_getm_notBefore(new_cert), 0); in PHP_FUNCTION() 3368 i = X509_set_pubkey(new_cert, key); in PHP_FUNCTION() 3376 X509V3_set_ctx(&ctx, cert, new_cert, csr, NULL, 0); in PHP_FUNCTION() 3385 if (!X509_sign(new_cert, priv_key, req.digest)) { in PHP_FUNCTION() 3393 cert_object->x509 = new_cert; in PHP_FUNCTION() [all …]
|
Completed in 28 milliseconds