comparison cinst/mozilla.c @ 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
parents 0c4d65a7cd14
children 4b67cc2d4dad
comparison
equal deleted inserted replaced
237:6435e28ae753 238:dd417a2ff9cd
2 * @file 2 * @file
3 * @brief Mozilla installation process 3 * @brief Mozilla installation process
4 * 4 *
5 * Reads from stdin a list of instructions in the form: 5 * Reads from stdin a list of instructions in the form:
6 * 6 *
7 * I:<base64 DER econded certificate>\r\n 7 * I:<base64 DER econded certificate>
8 * R:<base64 DER econded certificate>\r\n 8 * R:<base64 DER econded certificate>
9 * ... 9 * ...
10 * 10 *
11 * The maximum size of an input line is 9999 characters 11 * With one instruction per line. the maximum size of an input
12 * (including the \r\n) at the end of the line. 12 * line is 9999 characters (including the \r\n) at the end of the line.
13 * 13 *
14 * Certificates marked with I: will be installed and the ones 14 * Certificates marked with I: will be installed and the ones
15 * marked with R: will be searched and if available removed from 15 * marked with R: will be searched and if available removed from
16 * the databases. 16 * the databases.
17 * 17 *
19 * access to and to execute the instructions on all of them. 19 * access to and to execute the instructions on all of them.
20 * 20 *
21 * If there are other processes accessing the databases the caller 21 * If there are other processes accessing the databases the caller
22 * has to ensure that those are terminated before this process is 22 * has to ensure that those are terminated before this process is
23 * executed. 23 * executed.
24 *
25 * If the same certificate is marked to be installed and to be removed
26 * in one call the behavior is undefined. This should be avoided and
27 * may lead to errors.
24 * 28 *
25 * Returns 0 on success (Even when no stores where found) an error value 29 * Returns 0 on success (Even when no stores where found) an error value
26 * as defined in errorcodes.h otherwise. 30 * as defined in errorcodes.h otherwise.
27 * 31 *
28 * Success messages are written to stdout. Errors to stderr. For logging 32 * Success messages are written to stdout. Errors to stderr. For logging

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