From 2231f4c3038aefc1f77cf456b188b53fb6da4a13 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 20 May 2008 19:59:07 +0000 Subject: 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. --- debian/tests/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 debian/tests/Makefile (limited to 'debian/tests/Makefile') 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 @@ +test: getpid.so + ./keygen-test + +getpid.o: getpid.c + gcc -fPIC -c $< -o $@ + +getpid.so: getpid.o + gcc -shared -o $@ $< + +clean: + rm -f getpid.o getpid.so key1 key1.pub key2 key2.pub -- cgit v1.2.3