build_curve_signature() processes hash not data
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 27 Aug 2009 18:41:29 +0000 (20:41 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 27 Aug 2009 18:41:29 +0000 (20:41 +0200)
src/libstrongswan/plugins/openssl/openssl_ec_private_key.c

index 0bfe27f..6049f1d 100644 (file)
@@ -100,7 +100,7 @@ static bool build_curve_signature(private_openssl_ec_private_key_t *this,
        {
                return FALSE;
        }
-       built = build_signature(this, data, signature);
+       built = build_signature(this, hash, signature);
        chunk_free(&hash);
        return built;
 }