From dceb9cebada8326f7eb5097475303c28e81b105b Mon Sep 17 00:00:00 2001 From: Maran Date: Wed, 5 Aug 2009 15:36:01 +0200 Subject: [PATCH] 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 --- runtime/staprun/staprun_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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). */ -- 2.43.5