diff options
author | Colin Watson <cjwatson@debian.org> | 2008-05-20 19:59:07 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-05-20 19:59:07 +0000 |
commit | 2231f4c3038aefc1f77cf456b188b53fb6da4a13 (patch) | |
tree | a7bac02b6fa3cd8c2f22f9fd76c45b7f47d4ac60 /debian/tests/Makefile | |
parent | 15177d9485f496337dabadb0364c08be971c1239 (diff) |
Generate two keys with the PID forced to the same value and test that
they differ, to defend against recurrences of the recent Debian OpenSSL
vulnerability.
Diffstat (limited to 'debian/tests/Makefile')
-rw-r--r-- | debian/tests/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/Makefile b/debian/tests/Makefile new file mode 100644 index 000000000..16d9840ac --- /dev/null +++ b/debian/tests/Makefile | |||
@@ -0,0 +1,11 @@ | |||
1 | test: getpid.so | ||
2 | ./keygen-test | ||
3 | |||
4 | getpid.o: getpid.c | ||
5 | gcc -fPIC -c $< -o $@ | ||
6 | |||
7 | getpid.so: getpid.o | ||
8 | gcc -shared -o $@ $< | ||
9 | |||
10 | clean: | ||
11 | rm -f getpid.o getpid.so key1 key1.pub key2 key2.pub | ||