The unified diff between revisions [75daca8d..] and [08eaf28d..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'base64.cpp'

#
#
# patch "base64.cpp"
#  from [0159b238b256a688445b3912c33bb0207baa8105]
#    to [a7780f8f856946ca1fcaf5a1fa5ee91aaf2504ce]
#
============================================================
--- base64.cpp	0159b238b256a688445b3912c33bb0207baa8105
+++ base64.cpp	a7780f8f856946ca1fcaf5a1fa5ee91aaf2504ce
@@ -118,8 +118,11 @@ void Base64_Encoder::end_msg()
       do_output(out, 4);
       }

-   if(counter && line_length)
-      send('\n');
+   // Monotone requires a trailing in newline in
+   // all cases, for crypto++ compatibility.
+   // if(counter && line_length)
+   //   send('\n');
+   send('\n');

    counter = position = 0;
    }