summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, thederaadt2-6/+6
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
2021-10-24merge documentation for SSL_read_ex(3), SSL_peek_ex(3), and SSL_write_ex(3)schwarze2-61/+130
from the OpenSSL 1.1.1 branch, which is still under a free license
2021-10-24Prepare to provide a number of X509_STORE_CTX_* setters.tb2-2/+52
ok beck jsing
2021-10-24Prepare to provide EVP_MD_CTX_get_md_data()tb2-2/+11
ok beck jsing
2021-10-24Prepare to provide a bunch of OCSP_resp_* getters.tb3-3/+74
ok beck jsing
2021-10-24Prepare to provide X509_STORE_CTX_get_num_untrusted()tb2-2/+11
ok beck jsing
2021-10-24Prepare to provide BIO_get_init()tb2-5/+14
ok beck jsing
2021-10-24Since tb@ added DECLARE_STACK_OF(GENERAL_NAMES) to x509v3.h in rev. 1.9schwarze1-9/+26
and since CMS_ReceiptRequest_get0_values(3) uses it, add it to the list of STACK_OF(3) types. While here, also add the missing CMS_RecipientInfo, CMS_SignerInfo, OPENSSL_STRING, SRTP_PROTECTION_PROFILE, SSL_CIPHER, SSL_COMP and X509_NAME to the list of stack types used by the API, drop STACK_OF(X509_PURPOSE) which is only used internally, and list those STACK_OF(*) types separately that are obfuscated with typedef.
2021-10-24ansijsg2-13/+6
ok mpi@ deraadt@
2021-10-24Prepare to provide X509_OBJECT_{new,free}()tb2-3/+25
ok beck inoguchi jsing
2021-10-24Don't leak internal->verfied_chain, clean it up in ssl3_clear and free.beck1-1/+4
spotted by and ok jsing@
2021-10-24spelling;jmc1-3/+3
2021-10-23Add SSL_get0_verified_chain - needed by some new stuffbeck4-4/+21
symbol will be exposed with tb@'s forthcoming bump ok tb@
2021-10-23Declare STACK_OF(GENERAL_NAMES)tb1-3/+4
ok jsing
2021-10-23fix wrong and missing return types and wrong macros in the SYNOPSIS;schwarze1-10/+18
while here, also apply some minor wording improvements
2021-10-23Add new OpenSSL API SSL_CTX_set_num_tickets and friends.beck4-3/+94
Since we don't support session tickets in LibreSSL at the moment these functions currently do not have any effect. Again, symbols will appear with tb@'s reptar sized bump.. ok tb@
2021-10-23KNF a particularly ugly commenttb1-17/+16
2021-10-23Zap trailing whitespacetb1-13/+13
2021-10-23Unhandroll X509_up_ref()tb4-10/+9
ok beck jsing
2021-10-23Preapre x509.c for upcoming libcrypto bumptb1-19/+11
ok beck jsing