summaryrefslogtreecommitdiffstats
path: root/usr.bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* typos in comments; GHPR#180 from Ville Skyttädjm2021-04-033-6/+6
|
* sync CASignatureAlgorithms lists with reality. GHPR#174 fromdjm2021-04-032-8/+10
| | | | Matt Hazinski
* highly polished whitespace, mostly fixing spaces-for-tab and baddjm2021-04-0340-153/+156
| | | | indentation on continuation lines. Prompted by GHPR#185
* whitespace (tab after space)djm2021-04-034-9/+9
|
* fix incorrect plural; from Ville Skyttä via GHPR#181djm2021-04-031-3/+3
|
* ensure that pkcs11_del_provider() is called before exit - some PKCS#11djm2021-04-031-1/+5
| | | | | | providers get upset if C_Initialize is not matched with C_Finalize. From Adithya Baglody via GHPR#234; ok markus
* unused variabledjm2021-04-031-2/+2
|
* Fix two problems in string->argv conversion: 1) multiple backslashesdjm2021-04-031-7/+4
| | | | | | | | | were not being dequoted correctly and 2) quoted space in the middle of a string was being incorrectly split. A unit test for these cases has already been committed prompted by and based on GHPR#223 by Eero Häkkinen; ok markus@
* Show DTLS1.2 message with openssl(1) s_server and s_clientinoguchi2021-04-021-2/+6
| | | | ok jsing@ tb@
* Implement ZONEMD (RFC8976), based on DS (ds_43.c)florian2021-04-023-2/+124
| | | | OK sthen
* update currency exchange rates;jmc2021-04-011-39/+39
|
* Compare the pointer variable explicitly with NULL in if conditioninoguchi2021-04-011-18/+17
|
* Change search-again with vi keys to work like actual vi(1), also somenicm2021-04-011-51/+162
| | | | other fixes. From Aaron Jensen with help from Anindya Mukherjee.
* Missing commas, from Vipul Kumar.nicm2021-04-011-4/+4
|
* Use new limits@openssh.com protocol extension to let the client selectdjm2021-03-313-18/+115
| | | | | | | | | | | good limits based on what the server supports. Split the download and upload buffer sizes to allow them to be chosen independently. In practice (and assuming upgraded sftp/sftp-server at each end), this increases the download buffer 32->64KiB and the upload buffer 32->255KiB. Patches from Mike Frysinger; ok dtucker@
* do not advertise protocol extensions that have been disallowed bydjm2021-03-311-33/+53
| | | | the command-line options (e.g. -p/-P/-R); ok dtucker@
* one of the examples needs an -N (and explanation);jmc2021-03-311-4/+7
| | | | | | diff from robert scheck discussed with and tweaked by sthen
* add --no-motd to SYNOPSIS;jmc2021-03-311-1/+2
|
* Add option to suppress the Message of the Dayjob2021-03-314-8/+17
| | | | Fine deraadt@
* Remove workarounds for SSL_is_dtls()tb2021-03-312-11/+2
| | | | Reminded by inoguchi jsing
* Do not exit if cannot write to normal log file, GitHub issue 2630.nicm2021-03-311-7/+8
|
* In HTML output, correctly render .Bd -unfilled in proportionally-spacedschwarze2021-03-302-4/+8
| | | | | | | | | | | font, rather than with the monospace font appropriate for .Bd -literal. This fixes a minibug reported by anton@. Implemented by no longer relying on the typical browser default of "pre { font-family: monospace }" but instead letting <pre> elements inherit the font family from their parent, then adding an explicit CSS .Li class only for those displays where the manual page author requested it by using the -literal option on the .Bd macro.
* in unsafe_char(), handle %NN with array-index inspection rather than weirdderaadt2021-03-291-2/+2
| | | | | ptr++ ok claudio
* Fix duplicate SSL_is_dtls in libssl and apps.cinoguchi2021-03-281-1/+3
| | | | | | | | | | Currently, SSL_is_dtls exists in both libssl and apps.c, and one in libssl is guarded by LIBRESSL_INTERNAL and not exposed yet. This causes portable build broke with openssl(1) and optionstest. To solve this temporarily, rename SSL_is_dtls by apps.h. This temporary renaming will be removed when the SSL_is_dtls() is exposed. ok jsing@
* Invert the 'R' indicator which seems rather unintuitive at the moment,lum2021-03-262-5/+10
| | | | | | currently a '*' next to a file's name indicates it is writable. With this diff it now means it is read-only. Also make the active buffer indicator more visible:'.'->'>'.
* Sort header files and wrap long lines in x509.cinoguchi2021-03-261-67/+110
|
* Add 'get-environment-variable', in a fashion:lum2021-03-261-6/+32
| | | | | | | | (define curdir(get-environment-variable CURDIR)) (insert curdir) Should now print the value of the environment variable CURDIR's value, or error if it is not set.
* Change the regex for define names. Make more characters available.lum2021-03-261-13/+14
| | | | | Keep the same regex for mg function names. Though perhaps for user-defined functions other characters could be ok....
* Change two more bool counters to pointer NULL checks.lum2021-03-261-23/+11
|
* Move the expression list create item code into a single function.lum2021-03-251-35/+60
|
* Add an (exit) method.lum2021-03-251-1/+20
|
* User a pointer's value (!NULL) instead of a boolean to indicate somelum2021-03-251-11/+11
| | | | kind of data being found.
* Use length of line to indicate end of characters to process inlum2021-03-253-22/+34
| | | | | foundparen(). No intended functional change. regress tests ok and they all use excline().
* Convert openssl(1) x509 option handlinginoguchi2021-03-241-414/+747
| | | | | | | | | | | | | Apply new option handling to openssl(1) x509. To handle incremental order value, using newly added OPTION_ORDER. I left the descriptions for -CAform, -inform, and -outform as it was, for now. These description would be fixed. And digest option handler could be consolidated to one between some subcommands in the future. ok and comments from tb@, and "I'd move forward with your current plan." from jsing@
* Add option type OPTION_ORDERinoguchi2021-03-242-2/+9
| | | | | | | | | | To handle incremental order value, added new option type OPTION_ORDER. openssl(1) x509 requires this option handling, since, - -CA and -signkey require to set both filename and incremental 'num'. - -dates requires to set two variables in a row, startdate and enddate. and this couldn't be solved by OPTION_FLAG_ORD. ok tb@ and "I'd move forward with your current plan." from jsing@
* Fix some ranges and type handling.martijn2021-03-232-9/+18
| | | | OK sthen@
* Add DisplayString/SnmpAdminString in accordance with recent OPENBSD-PF-MIBmartijn2021-03-231-5/+5
| | | | | | changes. OK sthen@
* Use a pointer called bufp to point to a buffer called bufnlum2021-03-231-4/+4
| | | | consistantly.
* Correct how many arguments some functions take for interpreter.c.lum2021-03-231-31/+31
|
* Make a parameter to an mg function not throw an error justlum2021-03-231-3/+12
| | | | because it is numerical.
* Remove unveil() from the rsync_sender() and flist_gen(). The sender isclaudio2021-03-222-24/+4
| | | | | | | | | | not able to properly unveil itself because you can request many files as arguments. At the same time the sender is read-only and uses rpath pledge() so the gain from unveil() is less of an issue. On the receiver side all files land in one directory and this part still uses unveil() to protect rsync to somehow walk out of the destination directory. From kristaps@
* Adjust function name in error strings.claudio2021-03-221-4/+4
| | | | From kristaps@
* Adjust a type to unsigned since the io function works on unsigned ints.claudio2021-03-221-4/+5
| | | | | | Also the id is a strictly positve integer so this make sense. Cleanup comments and a spacing while there. From kristaps@
* Put comment where it belongs also remove an assert() that checks for anclaudio2021-03-221-5/+2
| | | | | | impossible condition. The map argument is from a pread() call and can never be MAP_FAILED. From kristaps@
* Compare explicitly against NULL.claudio2021-03-221-2/+2
| | | | From kristaps@
* Make fmt argument const. Format local vars a bit.claudio2021-03-222-8/+8
| | | | From kristaps@
* Start the move to TAILQ for expressions instead of an SLIST.lum2021-03-221-10/+33
|
* Add quoted strings capability in list values, no special charslum2021-03-213-46/+95
| | | | | | | detection in between them though. Add limitation to characters allowed in symbol names, equivalent to mg function names (A-Za-z-), quite restrictive but can grow of course. If value is not quoted and is not a variable, give an error.
* Looking at loading all expressions initially, working towards multilum2021-03-201-202/+271
| | | | | | line. Next to look at "values" (quotes around values). Current regress tests pass.
* Add a 'batch' mode to mg via the '-b' command line option which willlum2021-03-205-11/+74
| | | | | | | initialise a pty, run the specified file of mg commands and then exit. This is to facilitate mg fitting into the OpenBSD regress test framework and be able to run via a cron job.