mirror of
git://git.gnupg.org/gnupg.git
synced 2024-07-05 03:09:21 +02: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
|
accept --with-libgpg-error-prefix as well as --with-gpg-error-prefix
|
||||||
* m4/gpg-error.m4: Update from git master.
|
* 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>
|
2011-09-23 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* configure.ac: Remove check for gcry_kdf_derive.
|
* 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;
|
d_enc->totallen = total;
|
||||||
res = npth_mutex_lock (&encryption_lock);
|
res = npth_mutex_lock (&encryption_lock);
|
||||||
if (res)
|
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,
|
err = gcry_cipher_encrypt (encryption_handle, d_enc->data, total,
|
||||||
d->data, total - 8);
|
d->data, total - 8);
|
||||||
xfree (d);
|
xfree (d);
|
||||||
|
@ -1778,7 +1778,8 @@ start_connection_thread (void *arg)
|
|||||||
|
|
||||||
if (check_nonce (ctrl, &socket_nonce))
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user