Commit 5e480927 authored by Niels Möller's avatar Niels Möller
Browse files

Fix memory leak in dlopen-test.

parent 870ede28
2017-04-09 Niels Möller <nisse@lysator.liu.se> 2017-04-09 Niels Möller <nisse@lysator.liu.se>
* testsuite/dlopen-test.c (main): Call dlclose, to fix memory leak
on success.
* testsuite/pss-test.c: Delete magic to let valgrind to check if * testsuite/pss-test.c: Delete magic to let valgrind to check if
pss_encode_mgf1 is side-channel silent with respect to the salt pss_encode_mgf1 is side-channel silent with respect to the salt
and digest inputs. It turns out that the most significant bits of and digest inputs. It turns out that the most significant bits of
......
...@@ -28,6 +28,7 @@ main (int argc UNUSED, char **argv UNUSED) ...@@ -28,6 +28,7 @@ main (int argc UNUSED, char **argv UNUSED)
fprintf (stderr, "unexpected nettle version\n"); fprintf (stderr, "unexpected nettle version\n");
FAIL (); FAIL ();
} }
dlclose (handle);
return EXIT_SUCCESS; return EXIT_SUCCESS;
#else #else
SKIP(); SKIP();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment