{
"subject": "Re: Exception: 9key_error error",
"content": {
"format": "html",
"body": "<div class=\"post\">Does it happen every time you run it, or just happened once at some random time?<br/><br/>I've never seen that fail before. It's a call to OpenSSL that I assumed would never fail, but I put an error check there just in case. I can't imagine how it would fail. Out of memory maybe.<br/><br/>The code is:<br/><br/>key.h:<br/> EC_KEY* pkey;<br/><br/> pkey = EC_KEY_new_by_curve_name(NID_secp256k1);<br/> if (pkey == NULL)<br/> throw key_error(\"CKey::CKey() : EC_KEY_new_by_curve_name failed\");<br/><br/>NID_secp256k1 is a constant.</div>"
},
"source": {
"name": "Bitcoin Forum",
"url": "https://bitcointalk.org/index.php?topic=135.msg1133#msg1133"
},
"date": "2010-05-16T22:53:59Z"
}