changeset 238:dd417a2ff9cd

Specifiy unspecified behavior if there is an install and remove instruction for the same certificate.
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 28 Mar 2014 14:18:53 +0000 (2014-03-28)
parents 6435e28ae753
children 6b4ad6ccc48e
files cinst/mozilla.c
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/mozilla.c	Fri Mar 28 14:00:21 2014 +0000
+++ b/cinst/mozilla.c	Fri Mar 28 14:18:53 2014 +0000
@@ -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/