Searched refs:new_cert (Results 1 – 1 of 1) sorted by relevance
3194 X509 *cert = NULL, *new_cert = NULL; in PHP_FUNCTION() local3265 new_cert = X509_new(); in PHP_FUNCTION()3266 if (new_cert == NULL) { in PHP_FUNCTION()3272 if (!X509_set_version(new_cert, 2)) { in PHP_FUNCTION()3285 cert = new_cert; in PHP_FUNCTION()3293 i = X509_set_pubkey(new_cert, key); in PHP_FUNCTION()3310 if (!X509_sign(new_cert, priv_key, req.digest)) { in PHP_FUNCTION()3318 cert_object->x509 = new_cert; in PHP_FUNCTION()3323 if (!new_cert_used && new_cert) { in PHP_FUNCTION()3324 X509_free(new_cert); in PHP_FUNCTION()[all …]
Completed in 28 milliseconds