Home
last modified time | relevance | path

Searched refs:new_cert (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/openssl/
H A Dopenssl.c3244 X509 *cert = NULL, *new_cert = NULL; in PHP_FUNCTION() local
3321 new_cert = X509_new(); in PHP_FUNCTION()
3322 if (new_cert == NULL) { in PHP_FUNCTION()
3328 if (!X509_set_version(new_cert, 2)) { in PHP_FUNCTION()
3358 cert = new_cert; in PHP_FUNCTION()
3366 i = X509_set_pubkey(new_cert, key); in PHP_FUNCTION()
3383 if (!X509_sign(new_cert, priv_key, req.digest)) { in PHP_FUNCTION()
3391 cert_object->x509 = new_cert; in PHP_FUNCTION()
3396 if (!new_cert_used && new_cert) { in PHP_FUNCTION()
3397 X509_free(new_cert); in PHP_FUNCTION()
[all …]

Completed in 20 milliseconds