]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
use correct type for rv
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 16 Mar 2013 11:32:57 +0000 (12:32 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 16 Mar 2013 11:32:57 +0000 (12:32 +0100)
lib/pkcs11.c

index 9b7aa1447a3f013490db45f4ada16179f017f5e0..85be9603141c205e9d5f7e7f70c38cf297d7f53d 100644 (file)
@@ -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++)
     {