summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-16 12:32:57 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-03-16 12:32:57 +0100
commit345ff47ace97d6e69db20cc17db5190eeb574af0 (patch)
treea972940f9b04b1f3e614e86144b12cabed284e25 /lib
parent89ef2fe63996ef6c0afcd9596c5ac4deac0b8597 (diff)
downloadgnutls-345ff47ace97d6e69db20cc17db5190eeb574af0.tar.gz
use correct type for rv
Diffstat (limited to 'lib')
-rw-r--r--lib/pkcs11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pkcs11.c b/lib/pkcs11.c
index 9b7aa1447a..85be960314 100644
--- a/lib/pkcs11.c
+++ b/lib/pkcs11.c
@@ -167,7 +167,7 @@ pkcs11_rv_to_err (ck_rv_t rv)
static int scan_slots(struct gnutls_pkcs11_provider_s * p)
{
-int rv;
+ck_rv_t rv;
unsigned long nslots = 0;
if (p->nslots > 0)
@@ -585,7 +585,7 @@ gnutls_pkcs11_init (unsigned int flags, const char *deprecated_config_file)
int gnutls_pkcs11_reinit (void)
{
unsigned i;
- int rv;
+ ck_rv_t rv;
for (i = 0; i < active_providers; i++)
{