diff cinst/mozilla.c @ 243:4b67cc2d4dad

Merged
author Sascha Wilde <wilde@intevation.de>
date Fri, 28 Mar 2014 18:38:34 +0100
parents 74d6e33c7d38 dd417a2ff9cd
children 0145d2401f46
line wrap: on
line diff
--- a/cinst/mozilla.c	Fri Mar 28 18:37:59 2014 +0100
+++ b/cinst/mozilla.c	Fri Mar 28 18:38:34 2014 +0100
@@ -4,12 +4,12 @@
  *
  * Reads from stdin a list of instructions in the form:
  *
- * I:<base64 DER econded certificate>\r\n
- * R:<base64 DER econded certificate>\r\n
+ * I:<base64 DER econded certificate>
+ * R:<base64 DER econded certificate>
  * ...
  *
- * The maximum size of an input line is 9999 characters
- * (including the \r\n) at the end of the line.
+ * With one instruction per line. the maximum size of an input
+ * line is 9999 characters (including the \r\n) at the end of the line.
  *
  * Certificates marked with I: will be installed and the ones
  * marked with R: will be searched and if available removed from
@@ -22,6 +22,10 @@
  * has to ensure that those are terminated before this process is
  * executed.
  *
+ * If the same certificate is marked to be installed and to be removed
+ * in one call the behavior is undefined. This should be avoided and
+ * may lead to errors.
+ *
  * Returns 0 on success (Even when no stores where found) an error value
  * as defined in errorcodes.h otherwise.
  *

http://wald.intevation.org/projects/trustbridge/