]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 0bfe27fc9681f5aa9fc0bdf88e9836cf58bef375..6049f1d0621af2e4878971875fc9a675b0ec5b01 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;
 }