Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix const in previous. Pointed out by asou | tb | 2021-04-21 | 1 | -5/+5 |
| | |||||
* | Add prototypes for EC_GROUP_get_curve_{GF2m,GFp}(). | tb | 2021-04-20 | 1 | -1/+6 |
| | | | | These will be removed once EC_GROUP_get_curve() is public. | ||||
* | Check function return value in openssl(1) x509.c | inoguchi | 2021-04-07 | 1 | -24/+71 |
| | | | | input from bcook@, ok and comments from tb@ | ||||
* | Avoid leak in error path | inoguchi | 2021-04-07 | 1 | -3/+7 |
| | | | | ok and input from tb@ | ||||
* | Show DTLS1.2 message with openssl(1) s_server and s_client | inoguchi | 2021-04-02 | 1 | -2/+6 |
| | | | | ok jsing@ tb@ | ||||
* | Compare the pointer variable explicitly with NULL in if condition | inoguchi | 2021-04-01 | 1 | -18/+17 |
| | |||||
* | one of the examples needs an -N (and explanation); | jmc | 2021-03-31 | 1 | -4/+7 |
| | | | | | | diff from robert scheck discussed with and tweaked by sthen | ||||
* | Remove workarounds for SSL_is_dtls() | tb | 2021-03-31 | 2 | -11/+2 |
| | | | | Reminded by inoguchi jsing | ||||
* | Fix duplicate SSL_is_dtls in libssl and apps.c | inoguchi | 2021-03-28 | 1 | -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@ | ||||
* | Sort header files and wrap long lines in x509.c | inoguchi | 2021-03-26 | 1 | -67/+110 |
| | |||||
* | Convert openssl(1) x509 option handling | inoguchi | 2021-03-24 | 1 | -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_ORDER | inoguchi | 2021-03-24 | 2 | -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@ | ||||
* | Read ahead is now enforced for DTLS - remove workarounds. | jsing | 2021-03-17 | 2 | -20/+2 |
| | | | | ok inoguchi@ tb@ | ||||
* | Use consistent s_server_opt_ prefix. | jsing | 2021-03-17 | 1 | -9/+9 |
| | |||||
* | Add DTLSv1.2 support to openssl(1) s_client/s_server. | jsing | 2021-03-17 | 4 | -34/+129 |
| | | | | ok inoguchi@ tb@ | ||||
* | Only print the certificate file once on verifification failure. | jsing | 2021-02-15 | 1 | -4/+2 |
| | | | | | | Noted by Steffen Ullrich. ok tb@ | ||||
* | Document meaning of '*' in genrsa output | tb | 2020-12-30 | 1 | -3/+6 |
| | | | | ok inoguchi jmc kn | ||||
* | Remove a redundant memset call. | tb | 2020-12-16 | 1 | -2/+2 |
| | |||||
* | Wrap remaining overlong lines. | tb | 2020-11-03 | 1 | -7/+7 |
| | |||||
* | garbage collect an essentially unused variable and wrap some overlong | tb | 2020-11-03 | 1 | -8/+10 |
| | | | | lines | ||||
* | * ptr -> *ptr | tb | 2020-11-03 | 1 | -5/+5 |
| | |||||
* | X509_verify_cert()'s return value is not reliable if the callback | tb | 2020-11-03 | 1 | -20/+22 |
| | | | | | | | | | | | | | returns 1. verify.c's cb() ignores a bunch of things to display as much info as possible. Thus, check the error code on the store ctx as well, similar to OpenSSL commit d9e309a6 (old licence). This makes openssl verify error on expired certs, at least with the legacy verify code. While here, fix a number of style issues, simplify and plug a leak. ok inoguchi | ||||
* | some comma fixes; from varik valefor | jmc | 2020-11-01 | 1 | -12/+12 |
| | | | | (audio.4 tweaked from that submitted) | ||||
* | Add a -legacy_verify flag to force use of the old validator for debugging | tb | 2020-10-26 | 3 | -4/+13 |
| | | | | | | and testing purposes. ok beck inoguchi jsing | ||||
* | no need to initialize i if it's re-initialized a few lines down | tb | 2020-10-14 | 1 | -2/+1 |
| | |||||
* | Free peekaboo pbuf at end of s_client_main() | tb | 2020-10-14 | 1 | -1/+2 |
| | | | | | | | Otherwise each run of the s_client leaks 16k of memory. This hurts in interactive mode. ok inoguchi jsing | ||||
* | Make sure an OCSP query sends a host header | tb | 2020-10-13 | 1 | -4/+13 |
| | | | | | | | | | | | While OCSP uses HTTP/1.0 where a host header is optional, some widely used OCSP responders will return 400 bad request if it is missing. Add such a header unless it's already provided in the user's custom headers. OpenSSL did something similar in ff4a9394a23 and 76e0cd12f68 (both commits are under the old license) ok inoguchi | ||||
* | set SO_REUSEADDR on the server socket when we play oscp server. | beck | 2020-10-08 | 1 | -1/+2 |
| | | | | ok inoguchi@ tb@ deraadt@ | ||||
* | Add -[46] nops for compatibility with the OpenSSL s_server | tb | 2020-10-02 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | On OpenBSD it's necessary to use the eopenssl11 s_server with either -4 or -6 to choose an address family. I often want to try something with an OpenSSL server and then test the same thing with LibreSSL or vice versa. Adding and removing -4s on top of editing the command is annoying and distracting. This commits teaches our s_server to ignore -4 and -6 and thus makes commands that work with eopenssl11 more likely to work with openssl(1). These options are deliberately undocumented and don't show up in help listings. ok bcook inoguchi jsing | ||||
* | Wrap long lines, add space in front of goto label in openssl(1) ocsp.c | inoguchi | 2020-09-09 | 1 | -93/+118 |
| | |||||
* | Change SSLv23_client_method to TLS_client_method openssl(1) ocsp | inoguchi | 2020-09-09 | 1 | -2/+2 |
| | |||||
* | Remove space between pointer '*' and variable name in ocsp.c | inoguchi | 2020-09-09 | 1 | -39/+39 |
| | |||||
* | Convert openssl(1) ocsp option handling | inoguchi | 2020-09-09 | 1 | -443/+725 |
| | | | | input and ok tb@ | ||||
* | Add option type OPTION_UL_VALUE_OR | inoguchi | 2020-09-09 | 2 | -2/+9 |
| | | | | ok tb@ | ||||
* | Convert openssl req option handling. | jsing | 2020-08-09 | 1 | -378/+572 |
| | | | | | | With input from inoguchi@ ok beck@ inoguchi@ | ||||
* | Wrap long lines s_server.c | inoguchi | 2020-07-27 | 1 | -67/+130 |
| | |||||
* | Add function prototype and move sub functions to bottom | inoguchi | 2020-07-27 | 1 | -198/+197 |
| | |||||
* | Remove space between '*' and pointer variable in s_server.c | inoguchi | 2020-07-27 | 1 | -12/+12 |
| | |||||
* | Remove 's_' prefix from member of s_server_config struct | inoguchi | 2020-07-27 | 1 | -110/+110 |
| | |||||
* | Convert openssl(1) s_server option handling | inoguchi | 2020-07-27 | 1 | -568/+929 |
| | | | | ok and comments from jsing@ | ||||
* | Convert option handling for openssl(1) verify. | jsing | 2020-07-14 | 1 | -88/+220 |
| | | | | ok inoguchi@, tb@ | ||||
* | Remove hyphen | inoguchi | 2020-07-14 | 1 | -3/+3 |
| | |||||
* | Add single space between pem and ... | inoguchi | 2020-07-14 | 1 | -2/+2 |
| | |||||
* | Add manual for openssl(1) certhash | inoguchi | 2020-07-14 | 1 | -2/+57 |
| | | | | ok jmc@ | ||||
* | Clean up s_client.c | inoguchi | 2020-07-10 | 1 | -26/+27 |
| | | | | | | | - Remove space between '*' and pointer variable. - Add function prototype. - Move callback function to bottom. - Move typedef struct to up. | ||||
* | Change variable bio_c_out from global to local | inoguchi | 2020-07-10 | 1 | -15/+11 |
| | | | | ok tb@ | ||||
* | Wrap long lines and put space in front of label in s_client.c | inoguchi | 2020-07-09 | 1 | -46/+80 |
| | |||||
* | Remove c_ prefix from s_client_config member | inoguchi | 2020-07-09 | 1 | -33/+33 |
| | |||||
* | Convert openssl(1) s_client option handling | inoguchi | 2020-07-09 | 1 | -450/+770 |
| | | | | suggestions and ok beck@ jsing@ tb@ | ||||
* | While the second SSL_CTX in this code is only used on servername | tb | 2020-05-23 | 1 | -1/+2 |
| | | | | | | | | callback, so its mode is not used to update the ssl's mode, it seems more appropriate to clear the SSL_MODE_AUTO_RETRY flag on it as well. ok jsing |