Commit Graph

321 Commits

Author SHA1 Message Date
Cedric BAIL 16ae86eacb * eet_data: Remove some warning.
SVN revision: 40725
2009-05-18 14:46:32 +00:00
Cedric BAIL b336298727 * Eet: Cleanup eet_data dump code.
SVN revision: 40643
2009-05-14 15:58:10 +00:00
Carsten Haitzler e39dc41493 1. embryo shoudl have soname
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.



SVN revision: 40267
2009-04-21 14:17:42 +00:00
Cedric BAIL 1ad8971a15 * eet_cipher: Fix memory leak.
SVN revision: 40135
2009-04-17 14:00:31 +00:00
Cedric BAIL 18493b6d1b * eet_data: Cleanup a little eet_data_descriptor_decode.
SVN revision: 40109
2009-04-16 15:19:14 +00:00
Cedric BAIL bdea85040b * eet: Add API to directly store Eet_Node inside and Eet_File.
SVN revision: 40107
2009-04-16 12:43:34 +00:00
Cedric BAIL 7dd4b42c85 * eet_node.c: Oops, add file to svn.
SVN revision: 40106
2009-04-16 12:42:03 +00:00
Cedric BAIL b954d4dd49 * eet: Expose Eet_Node so we can now write external parser for eet_data. Still need
a way to retrieve an Eet_Node from an eet_data, perhaps some documentation and tests also.


SVN revision: 40105
2009-04-16 12:18:18 +00:00
Cedric BAIL 52c7896045 * eet: Add a faster way to compute signature. But currently need my pending patch to GnuTLS
(I need to sign and send this assigment paper) to be usefull.


SVN revision: 40104
2009-04-16 12:15:56 +00:00
Cedric BAIL f285d6ad16 * eet: Fix tests suite.
SVN revision: 40036
2009-04-14 09:26:15 +00:00
Cedric BAIL 634df72c4a * eet_data: Remove not used pointer.
SVN revision: 40035
2009-04-14 09:18:58 +00:00
Cedric BAIL c392637d27 * eet_lib: Prevent double init of gcry.
SVN revision: 39716
2009-03-25 16:26:46 +00:00
Vincent Torri c8702ccfa6 Fix compilation on OpenBSD (bug #251). Patch by eumel.
SVN revision: 39626
2009-03-22 13:37:17 +00:00
Cedric BAIL 0dcb98f55f * eet_data: Make it thread safe and fix some memory leak.
SVN revision: 39590
2009-03-19 19:00:46 +00:00
Carsten Haitzler f41991c662 disable fsync
SVN revision: 39542
2009-03-18 01:47:33 +00:00
Gustavo Sverzut Barbieri 3ca2a97471 make sure data is on disk, don't get empty files on ext4/ext3=writeback.
Ok, raster said it would not happen but just crashed my machine and
e.cfg was lost due ext4 being in writeback by default. Accordingly to
Theodore Ts'o
(http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/) we
should fsync even on open-write-close+rename case.



SVN revision: 39536
2009-03-17 20:49:36 +00:00
Carsten Haitzler a510f6a593 llvm complaint fix from Tiago Falcão
SVN revision: 39469
2009-03-13 16:12:24 +00:00
Cedric BAIL bd0d413ffe * eet/src/lib/eet_cipher.c: Report size as expected by API.
SVN revision: 39424
2009-03-09 15:52:14 +00:00
Cedric BAIL 970a2eb7bd eet: Including two times the same header is useless in the best case.
SVN revision: 39334
2009-03-02 15:39:10 +00:00
Cedric BAIL 1d1335498c eet: Fix memleak during cipher.
SVN revision: 39331
2009-03-02 14:43:57 +00:00
Gustavo Sverzut Barbieri b95c69d2f5 Fix problem reported by clang.
TODO: we should review sign of length attributes and make them
consistent whenever possible.

By: Luis Felipe Strano Moraes



SVN revision: 39258
2009-02-26 22:14:14 +00:00
Vincent Torri ca37104eb5 do not include unistd.h if vc++ is used
SVN revision: 39103
2009-02-19 20:31:21 +00:00
Vincent Torri 49f3d0134f Include winsock2.h before time.h. Requested by vc++
SVN revision: 39102
2009-02-19 20:17:14 +00:00
Chidambar Zinnoury 0e36edbdfc Add some missing unused flags.
SVN revision: 38987
2009-02-09 20:46:12 +00:00
Cedric BAIL 5f0475267c * eet/src/lib/Eet.h,
* eet/src/lib/eet_lib.c,
	* eet/src/lib/eet_cipher.c,
	* eet/src/lib/Eet_private.h: Add a function to retrieve SHA1 of an associated Eet_File.

	Note: Sadly GnuTLS doesn't seem to provide a gnutls_x509_crt_verify_hash function.


SVN revision: 38982
2009-02-09 13:53:20 +00:00
Chidambar Zinnoury 5b219a063c Dead assignment. Reported by CLang.
SVN revision: 38970
2009-02-08 10:19:52 +00:00
Cedric BAIL fa452d770d * eet/src/lib/eet_cipher.c: Fix a corrupted pointer use.
SVN revision: 38856
2009-01-30 13:50:01 +00:00
Cedric BAIL c1679231b7 Print signature and certificate lenght (give you an idea of the over head).
SVN revision: 38810
2009-01-27 13:12:59 +00:00
Vincent Torri c9505b11e2 check if the linker supports --as-needed
SVN revision: 38520
2009-01-09 17:29:06 +00:00
handyande b9cea15d05 as-needed is not globally supported - perhaps it needs to be detected?
SVN revision: 38390
2008-12-31 16:17:04 +00:00
Cedric BAIL e678664d12 Remove dead debugging code.
SVN revision: 38352
2008-12-30 11:04:35 +00:00
Cedric BAIL 32dbc61034 Remove dead assignment.
SVN revision: 38351
2008-12-30 11:01:36 +00:00
Cedric BAIL 484f8c1083 Remove useless affectation.
SVN revision: 38349
2008-12-29 16:59:47 +00:00
Cedric BAIL 69f1a6a61e Remove dead assignment and change condition for easier match.
SVN revision: 38344
2008-12-29 10:51:38 +00:00
Cedric BAIL a1a421f5ca Remove dead code detected by llvm static analyser.
SVN revision: 38343
2008-12-29 10:47:18 +00:00
Cedric BAIL ee56641dc8 Remove unused variable and check error return.
SVN revision: 38342
2008-12-29 10:29:08 +00:00
Cedric BAIL 41a6b9d484 Check decompression error. Potential bug detected by llvm static analyser.
SVN revision: 38341
2008-12-29 09:39:03 +00:00
Cedric BAIL 3c1b5cfb3c Fix documentation.
SVN revision: 38048
2008-12-09 13:02:44 +00:00
Cedric BAIL 9c381ceb1f Better error handling with eet identity.
SVN revision: 37937
2008-12-05 09:42:06 +00:00
Cedric BAIL bb9eeaa8f0 Add a function to get the raw signature data.
SVN revision: 37809
2008-11-26 10:45:47 +00:00
Cedric BAIL febbf0ab0f Make password callback work (PKCS8 support), fix minor bugs and add more tests.
SVN revision: 37625
2008-11-14 17:34:51 +00:00
Cedric BAIL 059a224215 Oops, forgot to commit this file. Crypto should now work.
SVN revision: 37614
2008-11-14 09:01:11 +00:00
Gustavo Sverzut Barbieri ca1c7d5bfc fix typo: cypher -> cipher
also reduce scope of ciphered and ciphered_len.


SVN revision: 37609
2008-11-13 20:49:18 +00:00
codewarrior e66c00cad3 rename, build still doesnt work for gnutls.
SVN revision: 37604
2008-11-13 19:26:28 +00:00
Cedric BAIL 0f36b190f1 Add crypto support to eet.
GNUTLS support by Arnaud de Turckheim <quarium@gmail.com>.


SVN revision: 37603
2008-11-13 16:31:13 +00:00
Vincent Torri f375b8fd4f autotools cleanups:
* reorganize configure.ac
 * select default opptions in configure.ac (disable openssl
   for windows ce)
 * fix Libs.private field and add Requires field in eep.pc
 * rename eet.c.in to eet.dox.in
 * use css file from other packages. Now the doc is correctly
   displayd (need a rename of eet.css to e.css, though. will be
   next commit)


SVN revision: 37114
2008-10-26 07:05:11 +00:00
Sebastian Dransfeld d40f7ebacc formatting
SVN revision: 37080
2008-10-24 21:47:10 +00:00
Cedric BAIL d0fe4b4f3f * Bug fix :
- Array layout would be broken or worse not possible to reload at all if you put NULL pointer in it.
  - Array of string now work.
  - Fix a double free issue with array on double load.

* Add the test to detect this case.



SVN revision: 37051
2008-10-24 14:06:40 +00:00
Vincent Torri 445e548c5b include Evil.h so that fopen can manage files
with relative path when using native code on
Windows CE


SVN revision: 37047
2008-10-24 08:06:08 +00:00
Cedric BAIL 04edb0cbec * Fix Hash of String bug.
* Add a test case for it.



SVN revision: 37029
2008-10-23 14:41:04 +00:00