Home
last modified time | relevance | path

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

/PHP-7.1/ext/openssl/
H A Dxp_ssl.c1137 static RSA *rsa_tmp = NULL; in tmp_rsa_cb() local
1139 if (!rsa_tmp && ((bn = BN_new()) == NULL)) { in tmp_rsa_cb()
1142 if (!rsa_tmp && bn) { in tmp_rsa_cb()
1143 if (!BN_set_word(bn, RSA_F4) || ((rsa_tmp = RSA_new()) == NULL) || in tmp_rsa_cb()
1144 !RSA_generate_key_ex(rsa_tmp, keylength, bn, NULL)) { in tmp_rsa_cb()
1145 if (rsa_tmp) { in tmp_rsa_cb()
1146 RSA_free(rsa_tmp); in tmp_rsa_cb()
1148 rsa_tmp = NULL; in tmp_rsa_cb()
1153 return (rsa_tmp); in tmp_rsa_cb()

Completed in 10 milliseconds