[PHP-WIN] openssl_pkey_new does not seem to generate a new key

2005-06-06 Thread steven.xu
php 4.3.10, openssl-0.9.6m OPENSSL_CONF,SSLEAY_CONF environmental variable has been set $opensslconf); $privkey = openssl_pkey_new($config); while ($msg = openssl_error_string()) echo $msg . "\n"; openssl_pkey_export($privkey, $keydata); echo $keydata; ?> the php execute result: error:02

[PHP-WIN] openssl_pkey_new does not seem to generate a new key

2005-06-06 Thread steven.xu
php 4.3.10, openssl-0.9.6m OPENSSL_CONF,SSLEAY_CONF environmental variable has been set $opensslconf); $privkey = openssl_pkey_new($config); while ($msg = openssl_error_string()) echo $msg . "\n"; openssl_pkey_export($privkey, $keydata); echo $keydata; ?> the php execute result: error:02