summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-27whitespacederaadt1-2/+2
2016-06-26increase the minimum for auto rounds to 6. that was the previous low boundtedu1-2/+2
for login.conf, and we don't want to go lower.
2016-06-25Fix from kinichiro.inoguchi@gmail.com to ensure that OCSP usesbeck2-4/+4
Generalized Time on requests as per RFC6960
2016-06-25Fix the ocsp code to actually check for errors when comparing time valuesbeck2-14/+62
which was not being done due to a lack of checking of the return code for X509_cmp_time. Ensure that we only compare GERNERALIZEDTIME values because this is what is specified by RFC6960. Issue reported, and fix provided by Kazuki Yamaguchi <k@rhe.jp> ok bcook@
2016-06-21Disable DSA_FLAG_NO_EXP_CONSTTIME, always enable constant-time behavior.bcook6-176/+92
Improved patch from Cesar Pereida. See https://github.com/libressl-portable/openbsd/pull/61 for more details. ok beck@
2016-06-21Fix a bug loading the default certificate path locations.bcook1-9/+7
The files would only be loaded if the CAfile or CApath locations were succesfully loaded first. Original patch from OpenSSL: https://github.com/openssl/openssl/commit/fe9b85c3cb79f1e29e61f01de105b34ce8177190 ok beck@
2016-06-06Set BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix.libressl-v2.4.1tedu2-4/+4
Mistake noted by Billy Brumley. Many thanks.
2016-06-06Correct a problem that prevents the DSA signing algorithm from runningbeck2-8/+12
in constant time even if the flag BN_FLG_CONSTTIME is set. This issue was reported by Cesar Pereida (Aalto University), Billy Brumley (Tampere University of Technology), and Yuval Yarom (The University of Adelaide and NICTA). The fix was developed by Cesar Pereida.
2016-06-06LibreSSL 2.4.1bcook2-6/+6
2016-06-02Fix typo; the period should be outside the parens. From Michael McConvillemillert1-3/+3
2016-06-02Let netcat support the use of service names instead of port numbers.beck2-18/+34
based on a diff from Andras Farkas <deepbluemistake@gmail.com> ok deraadt@
2016-05-30Gix misleading indent pointed out by GCC 6.1.libressl-v2.4.0bcook1-4/+4
ok beck@ jsing@
2016-05-30deprecate internal use of EVP_[Cipher|Encrypt|Decrypt]_Final.beck8-24/+40
14 years ago these were changed in OpenSSL to be the same as the _ex functions. We use the _ex functions only internally to ensure it is obvious the ctx must be cleared. ok bcook@
2016-05-30The icdb magic number doesn't need to be visible to static linksguenther1-2/+2
ok tedu@
2016-05-29Remove dead support for changing BDB hash algorithm and cache of alternativesguenther1-5/+4
ok natano@ millert@ deraadt@
2016-05-29Nuke sigret.cbeck2-198/+0
ok deraadt@ kettenis@
2016-05-29We don't have sigreturn anymorebeck1-2/+2
2016-05-29Prefer AF_* over PF_* and 'address family' over 'protocol family'guenther1-9/+9
ok jung@
2016-05-28Fix pledge violation with -P s used and we need to supply a passwordbeck1-3/+12
for an http proxy - we need tty in this case. Found and fixed by Anthony Coulter <bsd@anthonycoulter.name>. ok tb@
2016-05-28Fix nc -verbose mode when used on a unix domain socket.beck1-5/+11
Noticed by and a modified version of fix from <attila@stalphonsos.com>
2016-05-28rcmd(3) and rcmdsh(3) use getaddrinfo(3) not gethostbyname(3).millert2-9/+9
2016-05-28Use getaddrinfo() instead of the non-standard gethostbyname2().millert1-5/+14
OK deraadt@ jca@ jung@ florian@
2016-05-27Rename some of the internal error setting functions to more closely followjsing3-14/+48
existing naming standards. Also provide functions for setting a struct tls_error * directly (rather than having to have a struct tls * or a struct tls_config *).
2016-05-27Avoid leaking ca_mem when freeing a tls_config.jsing1-1/+2
2016-05-27Fix function parameters that do not have an underscore prefix.jsing1-10/+10
2016-05-27typo fixes; Anthony Coultersthen1-3/+3
2016-05-26The destination string is declared as "s" but referred to as "dst"millert1-5/+5
in some cases. Be consistent and use "dst" everywhere like for strlcat(3) and strncat(3). From Tim Kuijsten.
2016-05-26tests for the two segfaults in backref() that were just fixedschwarze1-1/+4
2016-05-26Fix an oversight that caused the test program to segfault:schwarze1-2/+2
Don't try to calculate strlen(NULL).
2016-05-26systematically test all combinations of REG_STARTEND, REG_NEWLINE,schwarze1-9/+85
and REG_NOTBOL with line and word anchors
2016-05-26support for testing REG_STARTEND together with REG_NOTBOLschwarze1-1/+4
2016-05-25use -nameopt esc_msb so "NetLock Kft" cert has the non-asciijsg1-2/+2
and non-utf8 bytes escaped. ok sthen@
2016-05-23Remove iruserok(_sa)? and __ivaliduser(sa)?guenther2-90/+20
ok millert@ deraadt@
2016-05-23Eliminate __check_rhosts_file and __rcmd_errstr: they were only used byguenther1-5/+1
rlogind and rshd (remember them?) ok deraadt@