diff options
author | Heikki Toivonen <heikki@heikkitoivonen.net> | 2007-06-12 23:48:50 +0000 |
---|---|---|
committer | Heikki Toivonen <heikki@heikkitoivonen.net> | 2007-06-12 23:48:50 +0000 |
commit | 5ca6aff1b2033a5660d56842bf35650f01e0e50e (patch) | |
tree | 48ac33b93111c56ace58caf61f1b908e3f09a494 /tests/test_ec_curves.py | |
parent | b7f67001d8bfe3a8443fa65e3f236c477dc49d87 (diff) | |
download | m2crypto-5ca6aff1b2033a5660d56842bf35650f01e0e50e.tar.gz |
Fixed memory leak in m2.ec_key_new_by_curve_name.
git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@543 2715db39-9adf-0310-9c64-84f055769b4b
Diffstat (limited to 'tests/test_ec_curves.py')
-rw-r--r-- | tests/test_ec_curves.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ec_curves.py b/tests/test_ec_curves.py index fcc7b1e..b79b7c2 100644 --- a/tests/test_ec_curves.py +++ b/tests/test_ec_curves.py @@ -1,5 +1,5 @@ #!/usr/bin/env python - +# XXX memory leaks """ Unit tests for M2Crypto.EC, the curves @@ -135,7 +135,7 @@ class ECCurveTests(unittest.TestCase): assert ec.verify_dsa(self.data, r, s) assert not ec.verify_dsa(self.data, s, r) - def test_ec_curves_ECDSA(self): + def test_ec_curves_ECDSA(self): # XXX leaks 5200 bytes for curveName, curveLen in curves: self.sign_verify_ecdsa(curveName, curveLen) |