summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun_funcs.c
diff options
context:
space:
mode:
authorMaran <maranp@linux.vnet.ibm.com>2009-08-05 15:36:01 +0200
committerMark Wielaard <mjw@redhat.com>2009-08-05 15:38:49 +0200
commitdceb9cebada8326f7eb5097475303c28e81b105b (patch)
treec03d144e47533c84315b3e8899694085febb8913 /runtime/staprun/staprun_funcs.c
parent034ce93ff77c29dbbc51783c1983092ec3421fe7 (diff)
downloadsystemtap-steved-dceb9cebada8326f7eb5097475303c28e81b105b.tar.gz
systemtap-steved-dceb9cebada8326f7eb5097475303c28e81b105b.tar.xz
systemtap-steved-dceb9cebada8326f7eb5097475303c28e81b105b.zip
Fix compile error when not HAVE_NSS with staprun.
* runtime/staprun/staprun_funcs.c (check_permissions): Declare check_signature_rc outside HAVE_NSS block. Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'runtime/staprun/staprun_funcs.c')
-rw-r--r--runtime/staprun/staprun_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c
index ed7f4fc3..1bbb59f5 100644
--- a/runtime/staprun/staprun_funcs.c
+++ b/runtime/staprun/staprun_funcs.c
@@ -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). */