diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-27 19:22:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-06-27 19:22:07 +0200 |
commit | fe1b3846c8c34a103da138e375f435f72fa042a6 (patch) | |
tree | 1fc2240b0a232216e7944b13dd96d0aaff856e6f /lib/gnutls_errors.c | |
parent | ee2457d4aedc3894c270634e043cf0e5b3f07a93 (diff) | |
download | gnutls-fe1b3846c8c34a103da138e375f435f72fa042a6.tar.gz |
Added gnutls_global_set_mutex() to allow setting
alternative locking procedures. By default the system available
locking is used. In *NIX pthreads are used and in windows the
critical section API.
As a side effect this change avoids any API dependance on libgcrypt
even if threads are used.
Diffstat (limited to 'lib/gnutls_errors.c')
-rw-r--r-- | lib/gnutls_errors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gnutls_errors.c b/lib/gnutls_errors.c index 97d5386c22..9c71cd1e6d 100644 --- a/lib/gnutls_errors.c +++ b/lib/gnutls_errors.c @@ -288,8 +288,8 @@ static const gnutls_error_entry error_algorithms[] = { GNUTLS_E_PKCS11_ERROR, 1), ERROR_ENTRY (N_("PKCS #11 error in slot"), GNUTLS_E_PKCS11_SLOT_ERROR, 1), - ERROR_ENTRY (N_("PKCS #11 locking error"), - GNUTLS_E_PKCS11_LOCKING_ERROR, 1), + ERROR_ENTRY (N_("Thread locking error"), + GNUTLS_E_LOCKING_ERROR, 1), ERROR_ENTRY (N_("PKCS #11 error in attribute"), GNUTLS_E_PKCS11_ATTRIBUTE_ERROR, 1), ERROR_ENTRY (N_("PKCS #11 error in device"), |