diff options
author | deraadt <> | 2014-04-18 09:38:42 +0000 |
---|---|---|
committer | deraadt <> | 2014-04-18 09:38:42 +0000 |
commit | 678b50a786ed1af061543bfcb9592beebc6be4ef (patch) | |
tree | ef3ff0364fca4b68054628204fbbd2bb19525472 /src | |
parent | 47f3f755de44fe72026c26b61f3534245e51ce63 (diff) | |
download | openbsd-678b50a786ed1af061543bfcb9592beebc6be4ef.tar.gz openbsd-678b50a786ed1af061543bfcb9592beebc6be4ef.tar.bz2 openbsd-678b50a786ed1af061543bfcb9592beebc6be4ef.zip |
simplify file:file:... stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/src/apps/cms.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/dhparam.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/gendh.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/gendsa.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/genrsa.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/pkcs12.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/rand.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/s_client.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/s_server.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/smime.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/srp.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/ts.c | 5 |
12 files changed, 13 insertions, 14 deletions
diff --git a/src/lib/libssl/src/apps/cms.c b/src/lib/libssl/src/apps/cms.c index d25b678297..d9694a4192 100644 --- a/src/lib/libssl/src/apps/cms.c +++ b/src/lib/libssl/src/apps/cms.c | |||
@@ -564,7 +564,7 @@ argerr: | |||
564 | BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); | 564 | BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); |
565 | #endif | 565 | #endif |
566 | BIO_printf(bio_err, "-passin arg input file pass phrase source\n"); | 566 | BIO_printf(bio_err, "-passin arg input file pass phrase source\n"); |
567 | BIO_printf(bio_err, "-rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); | 567 | BIO_printf(bio_err, "-rand file:file:...\n"); |
568 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); | 568 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); |
569 | BIO_printf(bio_err, " the random number generator\n"); | 569 | BIO_printf(bio_err, " the random number generator\n"); |
570 | BIO_printf(bio_err, "cert.pem recipient certificate(s) for encryption\n"); | 570 | BIO_printf(bio_err, "cert.pem recipient certificate(s) for encryption\n"); |
diff --git a/src/lib/libssl/src/apps/dhparam.c b/src/lib/libssl/src/apps/dhparam.c index b7a8196860..7679a891fd 100644 --- a/src/lib/libssl/src/apps/dhparam.c +++ b/src/lib/libssl/src/apps/dhparam.c | |||
@@ -250,7 +250,7 @@ bad: | |||
250 | #ifndef OPENSSL_NO_ENGINE | 250 | #ifndef OPENSSL_NO_ENGINE |
251 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); | 251 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); |
252 | #endif | 252 | #endif |
253 | BIO_printf(bio_err, " -rand file%cfile%c...\n", ':', ':'); | 253 | BIO_printf(bio_err, " -rand file:file:...\n"); |
254 | BIO_printf(bio_err, " - load the file (or the files in the directory) into\n"); | 254 | BIO_printf(bio_err, " - load the file (or the files in the directory) into\n"); |
255 | BIO_printf(bio_err, " the random number generator\n"); | 255 | BIO_printf(bio_err, " the random number generator\n"); |
256 | BIO_printf(bio_err, " -noout no output\n"); | 256 | BIO_printf(bio_err, " -noout no output\n"); |
diff --git a/src/lib/libssl/src/apps/gendh.c b/src/lib/libssl/src/apps/gendh.c index 6e03c8ab16..925b6e4120 100644 --- a/src/lib/libssl/src/apps/gendh.c +++ b/src/lib/libssl/src/apps/gendh.c | |||
@@ -153,7 +153,7 @@ bad: | |||
153 | #ifndef OPENSSL_NO_ENGINE | 153 | #ifndef OPENSSL_NO_ENGINE |
154 | BIO_printf(bio_err, " -engine e - use engine e, possibly a hardware device.\n"); | 154 | BIO_printf(bio_err, " -engine e - use engine e, possibly a hardware device.\n"); |
155 | #endif | 155 | #endif |
156 | BIO_printf(bio_err, " -rand file%cfile%c...\n", ':', ':'); | 156 | BIO_printf(bio_err, " -rand file:file:...\n"); |
157 | BIO_printf(bio_err, " - load the file (or the files in the directory) into\n"); | 157 | BIO_printf(bio_err, " - load the file (or the files in the directory) into\n"); |
158 | BIO_printf(bio_err, " the random number generator\n"); | 158 | BIO_printf(bio_err, " the random number generator\n"); |
159 | goto end; | 159 | goto end; |
diff --git a/src/lib/libssl/src/apps/gendsa.c b/src/lib/libssl/src/apps/gendsa.c index 9d89cd07cb..9bfeb4c16b 100644 --- a/src/lib/libssl/src/apps/gendsa.c +++ b/src/lib/libssl/src/apps/gendsa.c | |||
@@ -188,7 +188,7 @@ bad: | |||
188 | #ifndef OPENSSL_NO_ENGINE | 188 | #ifndef OPENSSL_NO_ENGINE |
189 | BIO_printf(bio_err, " -engine e - use engine e, possibly a hardware device.\n"); | 189 | BIO_printf(bio_err, " -engine e - use engine e, possibly a hardware device.\n"); |
190 | #endif | 190 | #endif |
191 | BIO_printf(bio_err, " -rand file%cfile%c...\n", ':', ':'); | 191 | BIO_printf(bio_err, " -rand file:file:...\n"); |
192 | BIO_printf(bio_err, " - load the file (or the files in the directory) into\n"); | 192 | BIO_printf(bio_err, " - load the file (or the files in the directory) into\n"); |
193 | BIO_printf(bio_err, " the random number generator\n"); | 193 | BIO_printf(bio_err, " the random number generator\n"); |
194 | BIO_printf(bio_err, " dsaparam-file\n"); | 194 | BIO_printf(bio_err, " dsaparam-file\n"); |
diff --git a/src/lib/libssl/src/apps/genrsa.c b/src/lib/libssl/src/apps/genrsa.c index 98ab23a571..fb879acad5 100644 --- a/src/lib/libssl/src/apps/genrsa.c +++ b/src/lib/libssl/src/apps/genrsa.c | |||
@@ -213,7 +213,7 @@ bad: | |||
213 | #ifndef OPENSSL_NO_ENGINE | 213 | #ifndef OPENSSL_NO_ENGINE |
214 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); | 214 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); |
215 | #endif | 215 | #endif |
216 | BIO_printf(bio_err, " -rand file%cfile%c...\n", ':', ':'); | 216 | BIO_printf(bio_err, " -rand file:file:...\n"); |
217 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); | 217 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); |
218 | BIO_printf(bio_err, " the random number generator\n"); | 218 | BIO_printf(bio_err, " the random number generator\n"); |
219 | goto err; | 219 | goto err; |
diff --git a/src/lib/libssl/src/apps/pkcs12.c b/src/lib/libssl/src/apps/pkcs12.c index d08f92eae3..fc61be467b 100644 --- a/src/lib/libssl/src/apps/pkcs12.c +++ b/src/lib/libssl/src/apps/pkcs12.c | |||
@@ -375,7 +375,7 @@ pkcs12_main(int argc, char **argv) | |||
375 | #ifndef OPENSSL_NO_ENGINE | 375 | #ifndef OPENSSL_NO_ENGINE |
376 | BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); | 376 | BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); |
377 | #endif | 377 | #endif |
378 | BIO_printf(bio_err, "-rand file%cfile%c...\n", ':', ':'); | 378 | BIO_printf(bio_err, "-rand file:file:...\n"); |
379 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); | 379 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); |
380 | BIO_printf(bio_err, " the random number generator\n"); | 380 | BIO_printf(bio_err, " the random number generator\n"); |
381 | BIO_printf(bio_err, "-CSP name Microsoft CSP name\n"); | 381 | BIO_printf(bio_err, "-CSP name Microsoft CSP name\n"); |
diff --git a/src/lib/libssl/src/apps/rand.c b/src/lib/libssl/src/apps/rand.c index 6bb8bfb45d..96d2b4e26c 100644 --- a/src/lib/libssl/src/apps/rand.c +++ b/src/lib/libssl/src/apps/rand.c | |||
@@ -153,7 +153,7 @@ rand_main(int argc, char **argv) | |||
153 | #ifndef OPENSSL_NO_ENGINE | 153 | #ifndef OPENSSL_NO_ENGINE |
154 | BIO_printf(bio_err, "-engine e - use engine e, possibly a hardware device.\n"); | 154 | BIO_printf(bio_err, "-engine e - use engine e, possibly a hardware device.\n"); |
155 | #endif | 155 | #endif |
156 | BIO_printf(bio_err, "-rand file%cfile%c... - seed PRNG from files\n", ':', ':'); | 156 | BIO_printf(bio_err, "-rand file:file:... - seed PRNG from files\n"); |
157 | BIO_printf(bio_err, "-base64 - base64 encode output\n"); | 157 | BIO_printf(bio_err, "-base64 - base64 encode output\n"); |
158 | BIO_printf(bio_err, "-hex - hex encode output\n"); | 158 | BIO_printf(bio_err, "-hex - hex encode output\n"); |
159 | goto err; | 159 | goto err; |
diff --git a/src/lib/libssl/src/apps/s_client.c b/src/lib/libssl/src/apps/s_client.c index 41911bcd24..4290548de5 100644 --- a/src/lib/libssl/src/apps/s_client.c +++ b/src/lib/libssl/src/apps/s_client.c | |||
@@ -339,7 +339,7 @@ sc_usage(void) | |||
339 | #ifndef OPENSSL_NO_ENGINE | 339 | #ifndef OPENSSL_NO_ENGINE |
340 | BIO_printf(bio_err, " -engine id - Initialise and use the specified engine\n"); | 340 | BIO_printf(bio_err, " -engine id - Initialise and use the specified engine\n"); |
341 | #endif | 341 | #endif |
342 | BIO_printf(bio_err, " -rand file%cfile%c...\n", ':', ':'); | 342 | BIO_printf(bio_err, " -rand file:file:...\n"); |
343 | BIO_printf(bio_err, " -sess_out arg - file to write SSL session to\n"); | 343 | BIO_printf(bio_err, " -sess_out arg - file to write SSL session to\n"); |
344 | BIO_printf(bio_err, " -sess_in arg - file to read SSL session from\n"); | 344 | BIO_printf(bio_err, " -sess_in arg - file to read SSL session from\n"); |
345 | #ifndef OPENSSL_NO_TLSEXT | 345 | #ifndef OPENSSL_NO_TLSEXT |
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c index ebe205c4ab..27925b492d 100644 --- a/src/lib/libssl/src/apps/s_server.c +++ b/src/lib/libssl/src/apps/s_server.c | |||
@@ -515,7 +515,7 @@ sv_usage(void) | |||
515 | BIO_printf(bio_err, " -engine id - Initialise and use the specified engine\n"); | 515 | BIO_printf(bio_err, " -engine id - Initialise and use the specified engine\n"); |
516 | #endif | 516 | #endif |
517 | BIO_printf(bio_err, " -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg'\n"); | 517 | BIO_printf(bio_err, " -id_prefix arg - Generate SSL/TLS session IDs prefixed by 'arg'\n"); |
518 | BIO_printf(bio_err, " -rand file%cfile%c...\n", ':', ':'); | 518 | BIO_printf(bio_err, " -rand file:file:...\n"); |
519 | #ifndef OPENSSL_NO_TLSEXT | 519 | #ifndef OPENSSL_NO_TLSEXT |
520 | BIO_printf(bio_err, " -servername host - servername for HostName TLS extension\n"); | 520 | BIO_printf(bio_err, " -servername host - servername for HostName TLS extension\n"); |
521 | BIO_printf(bio_err, " -servername_fatal - on mismatch send fatal alert (default warning alert)\n"); | 521 | BIO_printf(bio_err, " -servername_fatal - on mismatch send fatal alert (default warning alert)\n"); |
diff --git a/src/lib/libssl/src/apps/smime.c b/src/lib/libssl/src/apps/smime.c index 22b28ce4b3..4c0e32ccba 100644 --- a/src/lib/libssl/src/apps/smime.c +++ b/src/lib/libssl/src/apps/smime.c | |||
@@ -427,7 +427,7 @@ argerr: | |||
427 | BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); | 427 | BIO_printf(bio_err, "-engine e use engine e, possibly a hardware device.\n"); |
428 | #endif | 428 | #endif |
429 | BIO_printf(bio_err, "-passin arg input file pass phrase source\n"); | 429 | BIO_printf(bio_err, "-passin arg input file pass phrase source\n"); |
430 | BIO_printf(bio_err, "-rand file%cfile%c...\n", ':', ':'); | 430 | BIO_printf(bio_err, "-rand file:file:...\n"); |
431 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); | 431 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); |
432 | BIO_printf(bio_err, " the random number generator\n"); | 432 | BIO_printf(bio_err, " the random number generator\n"); |
433 | BIO_printf(bio_err, "cert.pem recipient certificate(s) for encryption\n"); | 433 | BIO_printf(bio_err, "cert.pem recipient certificate(s) for encryption\n"); |
diff --git a/src/lib/libssl/src/apps/srp.c b/src/lib/libssl/src/apps/srp.c index d68dc6c03a..a7bdcef0c9 100644 --- a/src/lib/libssl/src/apps/srp.c +++ b/src/lib/libssl/src/apps/srp.c | |||
@@ -388,7 +388,7 @@ srp_main(int argc, char **argv) | |||
388 | for (pp = srp_usage; (*pp != NULL); pp++) | 388 | for (pp = srp_usage; (*pp != NULL); pp++) |
389 | BIO_printf(bio_err, "%s", *pp); | 389 | BIO_printf(bio_err, "%s", *pp); |
390 | 390 | ||
391 | BIO_printf(bio_err, " -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); | 391 | BIO_printf(bio_err, " -rand file:file:...\n"); |
392 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); | 392 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); |
393 | BIO_printf(bio_err, " the random number generator\n"); | 393 | BIO_printf(bio_err, " the random number generator\n"); |
394 | goto err; | 394 | goto err; |
diff --git a/src/lib/libssl/src/apps/ts.c b/src/lib/libssl/src/apps/ts.c index 9d116ffac2..24e34894fd 100644 --- a/src/lib/libssl/src/apps/ts.c +++ b/src/lib/libssl/src/apps/ts.c | |||
@@ -330,12 +330,11 @@ ts_main(int argc, char **argv) | |||
330 | 330 | ||
331 | usage: | 331 | usage: |
332 | BIO_printf(bio_err, "usage:\n" | 332 | BIO_printf(bio_err, "usage:\n" |
333 | "ts -query [-rand file%cfile%c...] [-config configfile] " | 333 | "ts -query [-rand file:file:...] [-config configfile] " |
334 | "[-data file_to_hash] [-digest digest_bytes]" | 334 | "[-data file_to_hash] [-digest digest_bytes]" |
335 | "[-md2|-md4|-md5|-sha|-sha1|-mdc2|-ripemd160] " | 335 | "[-md2|-md4|-md5|-sha|-sha1|-mdc2|-ripemd160] " |
336 | "[-policy object_id] [-no_nonce] [-cert] " | 336 | "[-policy object_id] [-no_nonce] [-cert] " |
337 | "[-in request.tsq] [-out request.tsq] [-text]\n", | 337 | "[-in request.tsq] [-out request.tsq] [-text]\n"); |
338 | ':', ':'); | ||
339 | BIO_printf(bio_err, "or\n" | 338 | BIO_printf(bio_err, "or\n" |
340 | "ts -reply [-config configfile] [-section tsa_section] " | 339 | "ts -reply [-config configfile] [-section tsa_section] " |
341 | "[-queryfile request.tsq] [-passin password] " | 340 | "[-queryfile request.tsq] [-passin password] " |