This patch fixes a bug in the upstream library that prevents the verification of
 clearsigned documents with \r\n line endings. Obviously, it should go under
feeds/packages/libs/opencdk/patches/

Signed-off-by: Daniel A. Nagy <nagyd...@epointsystem.org>

--- opencdk-0.6.6/src/stream.c  2007-11-08 19:31:45.000000000 +0100
+++ opencdk-0.6.6-my/src/stream.c       2011-01-17 20:30:19.000000000 +0100
@@ -1384,7 +1384,9 @@
   while (!cdk_stream_eof (s) && count > 0)
     {
       c = cdk_stream_getc (s);
-      if (c == EOF || c == '\r' || c == '\n' ) 
+      if (c == '\r')
+        c = cdk_stream_getc (s);
+      if (c == EOF || c == '\n' )
        {
          buf[i++] = '\0';
          break;
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to