From: Maran Date: Wed, 5 Aug 2009 13:36:01 +0000 (+0200) Subject: Fix compile error when not HAVE_NSS with staprun. X-Git-Tag: release-1.0~186 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=dceb9cebada8326f7eb5097475303c28e81b105b;p=systemtap.git 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 --- diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c index ed7f4fc3c..1bbb59f52 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). */