mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
Initial port to Npth.
This commit is contained in:
parent
4af3636ecd
commit
9ec978ed46
@ -14,6 +14,16 @@
|
||||
accept --with-libgpg-error-prefix as well as --with-gpg-error-prefix
|
||||
* m4/gpg-error.m4: Update from git master.
|
||||
|
||||
2011-09-26 Marcus Brinkmann <marcus@g10code.com>
|
||||
|
||||
* configure.ac: Don't check for PTH but for NPTH.
|
||||
(AH_BOTTOM): Remove PTH_SYSCALL_SOFT.
|
||||
(have_pth): Rename to ...
|
||||
(have_npth): ... this.
|
||||
(USE_GNU_NPTH): Rename to ...
|
||||
(USE_GNU_PTH): ... this.
|
||||
* m4/gnupg-npth.m4: New file.
|
||||
|
||||
2011-09-23 Werner Koch <wk@g10code.com>
|
||||
|
||||
* configure.ac: Remove check for gcry_kdf_derive.
|
||||
|
@ -185,7 +185,9 @@ new_data (const char *string, struct secret_data_s **r_data)
|
||||
d_enc->totallen = total;
|
||||
res = npth_mutex_lock (&encryption_lock);
|
||||
if (res)
|
||||
log_fatal ("failed to acquire cache encryption mutex: %s\n", strerror (res));
|
||||
log_fatal ("failed to acquire cache encryption mutex: %s\n",
|
||||
strerror (res));
|
||||
|
||||
err = gcry_cipher_encrypt (encryption_handle, d_enc->data, total,
|
||||
d->data, total - 8);
|
||||
xfree (d);
|
||||
|
@ -1778,7 +1778,8 @@ start_connection_thread (void *arg)
|
||||
|
||||
if (check_nonce (ctrl, &socket_nonce))
|
||||
{
|
||||
log_error ("handler 0x%lx nonce check FAILED\n", (unsigned long) npth_self());
|
||||
log_error ("handler 0x%lx nonce check FAILED\n",
|
||||
(unsigned long) npth_self());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user