Searched refs:new_cert (Results 1 – 1 of 1) sorted by relevance
3154 X509 *cert = NULL, *new_cert = NULL; in PHP_FUNCTION() local3225 new_cert = X509_new(); in PHP_FUNCTION()3226 if (new_cert == NULL) { in PHP_FUNCTION()3232 if (!X509_set_version(new_cert, 2)) { in PHP_FUNCTION()3245 cert = new_cert; in PHP_FUNCTION()3253 i = X509_set_pubkey(new_cert, key); in PHP_FUNCTION()3270 if (!X509_sign(new_cert, priv_key, req.digest)) { in PHP_FUNCTION()3278 cert_object->x509 = new_cert; in PHP_FUNCTION()3283 if (!new_cert_used && new_cert) { in PHP_FUNCTION()3284 X509_free(new_cert); in PHP_FUNCTION()[all …]
Completed in 47 milliseconds