File opencdk-0.6.6-remove_pointer_comparison.patch of Package opencdk

Index: opencdk-0.6.6/tests/t-key.c
===================================================================
--- opencdk-0.6.6.orig/tests/t-key.c	2007-10-14 14:15:27.000000000 +0200
+++ opencdk-0.6.6/tests/t-key.c	2008-10-07 16:35:59.000000000 +0200
@@ -141,8 +141,6 @@ static cdk_error_t test_check_subpkts (c
       if (!n)
 	break;
     }  
-  if (n > 0)
-    return CDK_Inv_Value;
   
   return 0;
 }
openSUSE Build Service is sponsored by