openslp/openslp.fixdsareturn.diff

12 lines
453 B
Diff

--- ./common/slp_crypto.c.orig 2002-03-19 23:52:15.000000000 +0000
+++ ./common/slp_crypto.c 2009-01-30 13:15:06.000000000 +0000
@@ -179,5 +179,5 @@ int SLPCryptoDSAVerify(SLPCryptoDSAKey*
digestlen,
(unsigned char*)signature, /* broken DSA_verify() declaration */
signaturelen,
- key);
-}
\ No newline at end of file
+ key) > 0 ? 1 : 0;
+}