]> git.bitcoin.ninja Git - shamirs/commitdiff
wow...
authorMatt Corallo <git@bluematt.me>
Sat, 7 Sep 2013 22:39:47 +0000 (18:39 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 5 Sep 2013 15:00:51 +0000 (11:00 -0400)
shamirssecret.c

index 2d6e7aac0c9a77bc41d9fc12465fd400bf82a2e6..c7409e78a689726dc15a77c95551e9ee58b31850 100644 (file)
@@ -24,7 +24,7 @@
 #define CHECKSTATE(x) assert(x)
 #else
 #include <linux/bug.h>
-#define CHECKSTATE(x) BUG_ON(x)
+#define CHECKSTATE(x) BUG_ON(!(x))
 #endif
 
 #include "shamirssecret.h"