Marcus Brinkmann
0dce26778e
Fix compiler warnings.
...
* common/dotlock.c (use_hardlinks_p, dotlock_take_unix): Check return
value of link().
* g13/g13.c: Make sure err is initialized.
* scd/scdaemon.c (main) [!USE_GCRY_THREAD_CBS]: Do not define ERR.
2012-01-03 17:08:01 +01:00
Marcus Brinkmann
61ccd8d92d
Fix last change: Only set gcrypt thread callback for older versions.
...
* dirmngr/dirmngr.c, g13/g13.c: Rename FIX_GCRY_PTH_INIT to
USE_GCRY_THREAD_CBS.
2012-01-03 16:50:52 +01:00
Marcus Brinkmann
a2d9e48fcc
Only set gcrypt thread callback for older version of gcrypt.
...
* agent/gpg-agent.c, dirmngr/dirmngr.c, g13/g13.c, scd/scdaemon.c
(USE_GCRY_THREAD_CBS): New macro, defined if
GCRY_THREAD_OPTION_VERSION is 0.
(fixed_gcry_pth_init) [!USE_GCRY_THREAD_CBS]: Don't define.
(main) [!USE_GCRY_THREAD_CBS]: Do not install thread callbacks.
2012-01-02 22:15:00 +01:00
Werner Koch
ed8e267859
Add a flag parameter to dotlock_create.
...
This allows us to extend this function in the future.
2011-09-28 15:41:58 +02:00
Werner Koch
b73ae3ca36
Renamed the lock functions.
...
Also cleaned up the dotlock code for easier readability.
2011-09-23 14:43:58 +02:00
Werner Koch
b008274afd
Nuked almost all trailing white space.
...
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.
2011-02-04 12:57:53 +01:00
Werner Koch
e64038608b
More chnages to use estream. Add a way to replace the standard
...
descriptors.
2010-03-22 12:46:05 +00:00
Werner Koch
37870234a1
Use a custom log handler for libassuan.
2010-03-11 12:34:11 +00:00
Werner Koch
cb5491bfaf
support numeric debug levels.
2009-12-03 18:04:40 +00:00
Marcus Brinkmann
a5c7929900
Initialize opt.session_env.
2009-11-05 02:18:31 +00:00
Werner Koch
a1b6142855
[scd] Memory leak fix.
...
[g13] Send MOUNTPOINT status line
2009-10-28 12:02:15 +00:00
Werner Koch
97be197d31
[g13] Add RECIPEINT and CREATE command.
...
[sm] Chnage --include-certs default
2009-10-19 09:18:46 +00:00
Werner Koch
d839e154d3
Removed audit.h cruft which forced us to link against libksba.
...
There is no need for an audit file.
2009-10-17 19:15:15 +00:00
Marcus Brinkmann
de563fdeb5
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
...
* configure.ac: Check for libassuan instead of libassuan-pth.
common/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* Makefile.am (libcommon_a_CFLAGS): Use LIBASSUAN_CFLAGS instead
of LIBASSUAN_PTH_CFLAGS.
scd/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* AM_CFLAGS, scdaemon_LDADD: Use libassuan instead of libassuan-pth.
* scdaemon.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
(main): Call assuan_set_system_hooks and assuan_sock_init.
g13/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* AM_CFLAGS, g13_LDADD: Use libassuan instead of libassuan-pth.
* g13.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
(main): Call assuan_set_system_hooks.
agent/
2009-10-16 Marcus Brinkmann <marcus@g10code.com>
* gpg_agent_CFLAGS, gpg_agent_LDADD: Use libassuan instead of
libassuan-pth.
* gpg-agent.c: Invoke ASSUAN_SYSTEM_PTH_IMPL.
(main): Call assuan_set_system_hooks and assuan_sock_init.
Fix invocation of assuan_socket_connect.
2009-10-16 18:35:03 +00:00
Werner Koch
598bf9199e
Reworked the server commands.
...
Track mounts.
--create does now work as expected.
2009-10-15 17:20:41 +00:00
Werner Koch
1445c15ed1
mount does now work in server and standalone mode.
...
Implemented a signal handler.
2009-10-14 17:06:10 +00:00
Werner Koch
536b6ab09f
Keep on hacking on g13. A simple --create and --mount does now work.
...
A hacked up encfs is required.
2009-10-13 19:17:24 +00:00
Werner Koch
27c1b4bef8
Some changes to suport g13.
2009-09-30 15:28:38 +00:00
Werner Koch
1d0e9816e4
s/DOTLOCK/dotlock_t/.
...
Add some stuff for g13.
2009-09-23 10:28:41 +00:00