Commit Graph

13 Commits

Author SHA1 Message Date
Anders Kaseorg 7b9e548aa0 Run tests with ‘make check’
The configure --enable-tests flag is no longer needed because
check_PROGRAMS are not built until you run ‘make check’.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-03-10 15:47:33 -04:00
Anders Kaseorg a611ef5821 tests: Default to quiet
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2013-03-10 15:47:33 -04:00
Keith Winstein 92ecb99b71 Add OpenSSL licensing exception 2012-07-20 16:46:00 -04:00
Keith Winstein 57c4904ed8 Switch to OpenSSL base64 routines 2012-07-20 16:00:21 -04:00
Massimo Gengarelli 49fc21c8a3 Catch by const reference (remove Eclipse warnings)
(closes #245)
2012-04-29 02:24:31 -04:00
Keith Winstein fbb768ca1c Include test_utils.h in "SOURCES" so it is distributed 2012-04-24 19:15:30 -04:00
Keith Winstein 913ee0b34b Conform test to new crypto size limit 2012-04-24 18:53:24 -04:00
Keith Winstein e7d2bcf642 Update test for elimination of ae_allocate() / ae_free(). 2012-04-22 22:50:09 -04:00
Keegan McAllister d2434d1a79 Check compiler support for -fno-default-inline and -pipe
clang was spewing warnings about the unrecognized -fno-default-inline.  (Oddly,
it warns only with -c, not when compiling directly to an executable.)  For
completeness we also check -pipe, even though clang is OK with that one.

It should be fine to omit either flag.  gcc -fno-default-inline drops the
implicit 'inline' annotation on functions defined inside a class scope, but
'inline' is only a hint anyway.  -fno-default-inline does not change linkage.
-pipe is merely a compile speed optimization.
2012-04-13 12:27:27 -04:00
Keegan McAllister 349e2d20c8 Use the hardening flags
Closes #79.
2012-04-13 12:25:09 -04:00
Keegan McAllister c354a69ee6 Test the Mosh crypto layer 2012-04-06 23:43:42 -04:00
Keegan McAllister d1c4b0a5d7 Test the OCB-AES reference implementation
This tests cryptographic primitives implemented by others.  It uses the same
interfaces and indeed the same compiled object code as the Mosh client and
server.  It does not particularly test any code written for the Mosh project.
2012-04-06 23:43:42 -04:00
Keegan McAllister fe34cb3809 Create src/tests 2012-04-06 23:43:42 -04:00