Commit Graph

23780 Commits

Author SHA1 Message Date
Travis Cross 8843819ce5 Add back the elliptic curve (ECC) files
Signed-off-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Philip Zimmermann <prz@mit.edu>
2013-02-11 16:42:08 +00:00
Travis Cross fafd8f337c Optimize -O2 2013-02-11 16:42:08 +00:00
Travis Cross b3cfc73e13 Include debugging symbols 2013-02-11 16:42:07 +00:00
Travis Cross 25ca19218b Target C99 2013-02-11 16:42:07 +00:00
Travis Cross dcf7fff0f4 Set default CFLAGS to catch more issues 2013-02-11 16:42:06 +00:00
Werner Dittmann 85a35d67b1 Prepend to LIBS rather than replacing
Modified-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:06 +00:00
Travis Cross e09a6a3579 Make libzrtp build non-recursive
This eliminates the recursive makefiles for libzrtp (we still
recurse to build bnlib).  Object files, library files, and
executables (including tests) are now produced in the root
directory.
2013-02-11 16:42:05 +00:00
Travis Cross 49346a57f4 Reduce indirection in makefiles 2013-02-11 16:42:04 +00:00
Viktor Krykun 63cd37a2c4 Remove beta label
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:04 +00:00
Viktor Krykun 91c855a2ed Remove outdated credit
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:03 +00:00
Viktor Krykun 02b3b8060a Refactor test cases
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:02 +00:00
Viktor Krykun 521e673b5f Cleanup whitespace
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:02 +00:00
Viktor Krykun 7503d8aafa Fix bug with libzrtp zrtp_signaling_hash_set()
The function would silently not accept the imported zrtp-hash-value
with "buffer too small" in the debug output.

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:01 +00:00
Viktor Krykun f311f81b8d Cleanup whitespace and comments
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:01 +00:00
Viktor Krykun ab4543d94f Improve some autoconf minutia
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:00 +00:00
Viktor Krykun 1b642cae39 Build ZRTP docs with automake
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:42:00 +00:00
Viktor Krykun 46ecb6f90b Update libzrtp version
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:59 +00:00
Viktor Krykun 5af0af90ed Add zrtp_randstr2
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:58 +00:00
Viktor Krykun 4ba74ad38a Cleanup the go secure test
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:58 +00:00
Viktor Krykun 5f0b30cd7c Fix typo in comment
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:57 +00:00
Viktor Krykun c78a4dc221 Remove superfluous include
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:57 +00:00
Viktor Krykun 2cfadc6d8e Remove unused variable
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:56 +00:00
Viktor Krykun 5f19e3f1f7 Add test for zrtp_register_with_trusted_mitm
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:56 +00:00
Viktor Krykun b544076505 Rename changelog page
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:55 +00:00
Travis Cross b7fd94a53e Fix build of cmockery
cmockery.h was trying to redefine uintptr_t, but this is already
defined in stdint.h.
2013-02-11 16:41:55 +00:00
Viktor Krykun d938a6da6d Add test for some minor bugs
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:54 +00:00
Viktor Krykun 95519659b9 Clean up in libzrtp tests
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:53 +00:00
Viktor Krykun cc134b8cbe Update pointer to changelog
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:53 +00:00
Viktor Krykun e5caa9e196 Bump libzrp version
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:52 +00:00
Viktor Krykun be9e71a5e2 Log number of dirty cache entries flushed
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:52 +00:00
Viktor Krykun e4daefbadc Flush zrtp cache automatically
Add option to flush zrtp cache to persistent storage automatically
immediately after the cache is modified. See
zrtp_config_t#cache_auto_store.

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:51 +00:00
Viktor Krykun 551938b89b Add preventative breaks to case statement
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:50 +00:00
Viktor Krykun 272b36d04b Improve whitespace and formatting
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:50 +00:00
Viktor Krykun fc98238dd6 Condense formatting of struct
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:49 +00:00
Viktor Krykun a7d0c274ab Fix spelling
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:49 +00:00
Viktor Krykun 1b15973f02 Bump libzrtp version
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:48 +00:00
Viktor Krykun 656669d241 Fix bug with sasrelay
libzrtp was forcing a new SAS rendering even when SasRelay
sashash was zero.

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:48 +00:00
Viktor Krykun 2bfb3e7408 Update libzrtp version
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:47 +00:00
Viktor Krykun 326370ba48 Pass through void* arg in zrtp_thread_create
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:47 +00:00
Viktor Krykun 2664e0ee70 Add high-level test engine
Remove some old tests and implement a few test-cases to emulate zrtp
enrollment and sasrelay logic

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:46 +00:00
Travis Cross a7286bff1a Improve .gitignore 2013-02-11 16:41:45 +00:00
Viktor Krykun 73fabdfea5 Refactor libzrtp unit tests
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:45 +00:00
Viktor Krykun 7bca61ff0c Remove empty README file
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:44 +00:00
Viktor Krykun 5176df4615 Remove old Windows CE tests
Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:44 +00:00
Travis Cross fc40475037 Build from the root directory
Move all the GNU build files to the root directory so that we look
like a normal *NIX-centric project.

Thanks to Viktor Krikrun for an initial patch here.  For this commit,
I ended up redoing the move from scratch to separate out this move
from other changes.
2013-02-11 16:41:43 +00:00
Viktor Krykun 670f61be4d Ignore Eclipse project
Ignore local eclipse cdt project used for libzrtp development.

Modified-by: Travis Cross <tc@traviscross.com>
Signed-off-by: Travis Cross <tc@traviscross.com>
2013-02-11 16:41:42 +00:00
Moises Silva 7c6ba6a34c OPENZAP-207 --resolve Rework the zt_read function
Break the read loop when receiving ELAST
2013-02-11 11:35:30 -05:00
Steve Underwood 2cc1f04eb0 Fixed NEON tests 2013-02-11 22:40:20 +08:00
Anthony Minessale 475c235df4 FS-5053 2013-02-10 17:29:16 -06:00
Jeff Lenk 099d7979b3 FS-4830 --resolve mod_json_cdr misses information 2013-02-10 11:53:29 -06:00