diff options
| author | djm <> | 2010-10-01 22:59:01 +0000 |
|---|---|---|
| committer | djm <> | 2010-10-01 22:59:01 +0000 |
| commit | fe047d8b632246cb2db3234a0a4f32e5c318857b (patch) | |
| tree | 939b752540947d33507b3acc48d76a8bfb7c3dc3 /src/lib/libcrypto/util/selftest.pl | |
| parent | 2ea67f4aa254b09ded62e6e14fc893bbe6381579 (diff) | |
| download | openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.gz openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.bz2 openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.zip | |
resolve conflicts, fix local changes
Diffstat (limited to 'src/lib/libcrypto/util/selftest.pl')
| -rw-r--r-- | src/lib/libcrypto/util/selftest.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/util/selftest.pl b/src/lib/libcrypto/util/selftest.pl index 4778c5ab01..7b32e9f4ff 100644 --- a/src/lib/libcrypto/util/selftest.pl +++ b/src/lib/libcrypto/util/selftest.pl | |||
| @@ -78,7 +78,7 @@ print OUT "\n"; | |||
| 78 | 78 | ||
| 79 | print "Checking compiler...\n"; | 79 | print "Checking compiler...\n"; |
| 80 | if (open(TEST,">cctest.c")) { | 80 | if (open(TEST,">cctest.c")) { |
| 81 | print TEST "#include <stdio.h>\n#include <errno.h>\nmain(){printf(\"Hello world\\n\");}\n"; | 81 | print TEST "#include <stdio.h>\n#include <stdlib.h>\n#include <errno.h>\nmain(){printf(\"Hello world\\n\");}\n"; |
| 82 | close(TEST); | 82 | close(TEST); |
| 83 | system("$cc -o cctest cctest.c"); | 83 | system("$cc -o cctest cctest.c"); |
| 84 | if (`./cctest` !~ /Hello world/) { | 84 | if (`./cctest` !~ /Hello world/) { |
| @@ -96,7 +96,7 @@ if (open(TEST,">cctest.c")) { | |||
| 96 | print OUT "Can't create cctest.c\n"; | 96 | print OUT "Can't create cctest.c\n"; |
| 97 | } | 97 | } |
| 98 | if (open(TEST,">cctest.c")) { | 98 | if (open(TEST,">cctest.c")) { |
| 99 | print TEST "#include <openssl/opensslv.h>\nmain(){printf(OPENSSL_VERSION_TEXT);}\n"; | 99 | print TEST "#include <stdio.h>\n#include <stdlib.h>\n#include <openssl/opensslv.h>\nmain(){printf(OPENSSL_VERSION_TEXT);}\n"; |
| 100 | close(TEST); | 100 | close(TEST); |
| 101 | system("$cc -o cctest -Iinclude cctest.c"); | 101 | system("$cc -o cctest -Iinclude cctest.c"); |
| 102 | $cctest = `./cctest`; | 102 | $cctest = `./cctest`; |
