build_curve_signature() processes hash not data

This commit is contained in:
Andreas Steffen
2009-08-27 20:41:29 +02:00
parent 1dbaec2177
commit e201f53e93
@@ -100,7 +100,7 @@ static bool build_curve_signature(private_openssl_ec_private_key_t *this,
{ {
return FALSE; return FALSE;
} }
built = build_signature(this, data, signature); built = build_signature(this, hash, signature);
chunk_free(&hash); chunk_free(&hash);
return built; return built;
} }