Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Denote multiple arguments with 'arg ...' not 'args' | kn | 2022-12-22 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | A few programs used the plural in their synopsis which doesn't read as clear as the obvious triple-dot notation. mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent use of 'arg ...' matches that behaviour. Cleanup a few markups of the same argument so the text keeps reading naturally; omit unhelpful parts like 'if optional arguments are given, they are passed along' for tools like time(1) and timeout(1) that obviously execute commands with whatever arguments where given -- just like doas(1) which doesn't mention arguments in its DESCRIPTION in the first place. For expr(1) the difference between 'expressions' and 'expression ...' is crucial, as arguments must be passed as individual words. Feedback millert jmc schwarze deraadt OK jmc | |||||
* | Clean up openssl(1) command execution. | joshua | 2022-11-11 | 1 | -20/+26 | |
| | | | | | | | | | This cleans up the code that handles command execution for openssl(1), displays the help message when 'openssl help' is executed, and exits with code 1 when an invalid command is executed, matching the behaviour of OpenSSL version 1.1+ and above. ok tb@ | |||||
* | Remove the legacy interactive mode from openssl(1). | joshua | 2022-11-11 | 46 | -376/+231 | |
| | | | | | | | | This removes the legacy interactive mode from openssl(1) since it is rarely used, complicates the code, and has also been removed from OpenSSL in version 3.x.x. ok tb@ jsing@ | |||||
* | fix an obvious thinko without serious consequences in the display of e | espie | 2022-10-04 | 1 | -2/+2 | |
| | | | | | | for rsa and friends. okay tb@ | |||||
* | remove an extraneous empty line | tb | 2022-09-14 | 1 | -2/+1 | |
| | ||||||
* | Adjust for opaque structs in ts.h | tb | 2022-09-11 | 1 | -14/+24 | |
| | | | | ok jsing | |||||
* | Adjust for opaque structs in pkcs12.h | tb | 2022-09-11 | 1 | -25/+38 | |
| | | | | ok jsing | |||||
* | Avoid division by zero if no connection was made. | tb | 2022-08-31 | 1 | -4/+2 | |
| | | | | CID 184043 | |||||
* | Check return values in ssl_print_tmp_key() | tb | 2022-08-31 | 1 | -4/+9 | |
| | | | | | | | | | | Use EVP_PKEY_get0_EC_KEY() instead of the get1 version to avoid an EVP_PKEY_free(). Check return values: if either EVP_PKEY_get0_EC_KEY() or EC_KEY_get0_group() fail, a NULL dereference occurs. CID 43289 ok jsing | |||||
* | Check HMAC() return value to avoid a later use of uninitialized | tb | 2022-08-30 | 1 | -3/+7 | |
| | | | | CID 25421 | |||||
* | Add workarounds for some symbols that are hidden under !LIBRESSL_INTERNAL | tb | 2022-08-03 | 1 | -1/+7 | |
| | | | | until the next bump exposes new symbols that we can use. | |||||
* | fix indent | tb | 2022-07-19 | 1 | -2/+2 | |
| | ||||||
* | Document -tls1_{1,2,3} in openssl ciphers | tb | 2022-07-19 | 1 | -2/+11 | |
| | | | | ok jsing | |||||
* | Allow displaying ciphers according to protocol version | tb | 2022-07-19 | 1 | -4/+39 | |
| | | | | | | | | | Instead of only using the default client method, allow selecting a specific protocol version and display the supported ciphers accordingly. This removes the noop status of -tls1 and adds -tls1_{1,2,3} as in other commands. ok jsing | |||||
* | Suppress output of the deprecated -tls1 option in usage() and help | tb | 2022-07-14 | 1 | -3/+2 | |
| | | | | | | output. The option wasn't documented in the manpage. pointed out by jsing | |||||
* | Switch to using TLS_client_method() | tb | 2022-07-14 | 1 | -2/+2 | |
| | | | | | | | | | Apparently, TLSv1_client_method() is used for historical reasons. This behavior is no longer helpful if we want to know what ciphers a TLS connection could use. This could change again after further investigation of what the behavior should be... ok beck jsing | |||||
* | Document openssl ciphers -s | tb | 2022-07-14 | 1 | -3/+5 | |
| | | | | ok beck jsing | |||||
* | Add -s option to openssl ciphers | tb | 2022-07-14 | 1 | -4/+20 | |
| | | | | | | | With this option, the command only shows the ciphers supported by the SSL method. ok beck jsing | |||||
* | Fix comparison in openssl(1) pkcs12 | inoguchi | 2022-04-28 | 1 | -3/+3 | |
| | | | | comment from tb@ | |||||
* | Compare pointer value with NULL in openssl(1) pkcs12 | inoguchi | 2022-04-28 | 1 | -31/+31 | |
| | | | | ok tb@ | |||||
* | man pages: add missing commas between subordinate and main clauses | naddy | 2022-03-31 | 1 | -22/+22 | |
| | | | | | | | jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@ | |||||
* | Change internal functions to static in openssl(1) pkcs12 | inoguchi | 2022-03-28 | 1 | -24/+30 | |
| | | | | ok tb@ | |||||
* | Remove unused function cert_load in openssl(1) pkcs12 | inoguchi | 2022-03-28 | 1 | -19/+1 | |
| | | | | ok tb@ | |||||
* | Check EVP_Digest* functions return value in openssl(1) ts | inoguchi | 2022-03-27 | 1 | -5/+16 | |
| | | | | | | | Move up md_ctx and add EVP_MD_CTX_free under the 'err:' label. CID 149810 comment and ok jsing@ | |||||
* | Check function return value | inoguchi | 2022-03-24 | 1 | -2/+3 | |
| | ||||||
* | Compare pointer value with NULL | inoguchi | 2022-03-24 | 1 | -63/+63 | |
| | ||||||
* | Wrap long lines | inoguchi | 2022-03-24 | 1 | -39/+44 | |
| | ||||||
* | Remove space between asterisk and variable name | inoguchi | 2022-03-24 | 1 | -22/+22 | |
| | ||||||
* | Convert openssl(1) ts option handling | inoguchi | 2022-03-24 | 1 | -153/+285 | |
| | | | | | | | | Apply new option handling to openssl(1) ts, and there is no functional changes here. usage strings are comes from manual page. comments and ok jsing@ | |||||
* | openssl cms: avoid NULL derefs on option parsing | tb | 2022-03-23 | 1 | -1/+3 | |
| | | | | | | | Two missing initializations in the new option handling cause a segfault when -nodetach or -noindef is passed to openssl cms. ok inoguchi jsing miod | |||||
* | prefer https links in man pages | jsg | 2022-02-18 | 1 | -3/+3 | |
| | | | | ok gnezdo@ miod@ jmc@ | |||||
* | Unindent and unwrap lines. Pull up a NULL check. No functional change. | tb | 2022-02-03 | 1 | -28/+26 | |
| | ||||||
* | Remove commented variable declarations | tb | 2022-02-03 | 1 | -6/+1 | |
| | ||||||
* | Use X509_*get0_pubkey() wherever possible to simplify and clean up | tb | 2022-02-03 | 3 | -36/+22 | |
| | | | | | | the code. Also add error checking where possible. ok jsing | |||||
* | Remove some stale comments. | tb | 2022-02-03 | 1 | -21/+1 | |
| | | | | ok jsing | |||||
* | Avoid memory leak in error path with openssl(1) smime | inoguchi | 2022-01-16 | 1 | -1/+2 | |
| | | | | | | CID 345316 ok tb@ | |||||
* | Avoid memory leak in error path with openssl(1) cms | inoguchi | 2022-01-16 | 1 | -1/+3 | |
| | | | | | | CID 345314 345320 ok tb@ | |||||
* | Enable openssl pkey -{,pub}check and pkeyparam -check | tb | 2022-01-14 | 2 | -6/+2 | |
| | ||||||
* | openssl(1) dgst: fix build after clones removal | tb | 2022-01-14 | 1 | -4/+1 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) speed for opaque EVP_AEAD_CTX | tb | 2022-01-14 | 1 | -13/+31 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) rsa.c for opaque RSA | tb | 2022-01-14 | 1 | -2/+2 | |
| | | | | ok inoguchi jsing | |||||
* | openssl(1) genrsa: simplify access to rsa->e | tb | 2022-01-14 | 1 | -5/+3 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) gendsa.c to opaque DSA | tb | 2022-01-14 | 1 | -2/+2 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) dsaparam to opaque dsa | tb | 2022-01-14 | 1 | -11/+13 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) dsa.c to opaque DSA | tb | 2022-01-14 | 1 | -2/+2 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) dhparam to opaque DH | tb | 2022-01-14 | 1 | -12/+14 | |
| | | | | ok inoguchi jsing | |||||
* | Convert openssl(1) dh.c to opaque DH | tb | 2022-01-14 | 1 | -10/+12 | |
| | | | | ok inoguchi jsing | |||||
* | zap some stray whitespace | tb | 2022-01-12 | 1 | -2/+2 | |
| | ||||||
* | Wrap long lines | inoguchi | 2022-01-11 | 1 | -42/+74 | |
| | ||||||
* | Check function return value | inoguchi | 2022-01-11 | 1 | -32/+57 | |
| |