Home
last modified time | relevance | path

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

/PHP-7.2/ext/openssl/
H A Dxp_ssl.c1156 static RSA *rsa_tmp = NULL; in php_openssl_tmp_rsa_cb() local
1158 if (!rsa_tmp && ((bn = BN_new()) == NULL)) { in php_openssl_tmp_rsa_cb()
1161 if (!rsa_tmp && bn) { in php_openssl_tmp_rsa_cb()
1162 if (!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) || in php_openssl_tmp_rsa_cb()
1163 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) { in php_openssl_tmp_rsa_cb()
1164 if (rsa_tmp) { in php_openssl_tmp_rsa_cb()
1165 RSA_free(rsa_tmp); in php_openssl_tmp_rsa_cb()
1167 rsa_tmp = NULL; in php_openssl_tmp_rsa_cb()
1172 return (rsa_tmp); in php_openssl_tmp_rsa_cb()

Completed in 15 milliseconds