]> sourceware.org Git - systemtap.git/commitdiff
Fix compile error when not HAVE_NSS with staprun.
authorMaran <maranp@linux.vnet.ibm.com>
Wed, 5 Aug 2009 13:36:01 +0000 (15:36 +0200)
committerMark Wielaard <mjw@redhat.com>
Wed, 5 Aug 2009 13:38:49 +0000 (15:38 +0200)
* runtime/staprun/staprun_funcs.c (check_permissions): Declare
  check_signature_rc outside HAVE_NSS block.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
runtime/staprun/staprun_funcs.c

index ed7f4fc3cc6f6539f7c964729f7b7eebd560c7da..1bbb59f52065e5812949d9c2cb1543099aeaa0af 100644 (file)
@@ -450,8 +450,8 @@ check_groups (void)
 int check_permissions(void)
 {
        int check_groups_rc;
-#if HAVE_NSS
        int check_signature_rc = 0;
+#if HAVE_NSS
 
        /* Attempt to verify the module against its signature. Return failure
           if the module has been tampered with (altered).  */
This page took 0.028105 seconds and 5 git commands to generate.