| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| | |
|
| |
|
|
| |
ok otto
|
| |
|
|
|
|
| |
returning 2. The one and only caller doesn't check for that, so...
Stop returning it.
ok miod
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier
namespace.
KNF nit: return value expressions should be surrounded by parentheses,
per style(9).
Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and
requires under XSI) that terminated child processes not leave zombies
if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave
SIGCHLD set to SIG_IGN.
|
| |
|
|
|
|
|
| |
OS X's sigaltstack() fails with ENOMEM if ss_size < MINSIGSTKSZ even
if SS_DISABLE is specified in ss_flags. Rather than add code to try
to cope with this stupidity, just don't bother restoring the original
signal stack.
|
| |
|
|
| |
RAND_event and RAND_screen.
|
| |
|
|
| |
functions.
|
| |
|
|
| |
to get overwritten by a known value, ever.
|
| |
|
|
| |
new wording agreed by at least kettenis@ millert@ otto@
|
| |
|
|
| |
ok tedu@
|
| |
|
|
| |
ok jsing@
|
| |
|
|
| |
ok beck@ deraadt@ jsing@ guenther@
|
| |
|
|
|
|
|
| |
fear a smartass-optimizing compiler decides memset is useless immediately
before free().
ok jsing@ deraadt@ tedu@
|
| |
|
|
|
| |
more friendly to systems where the underscore flavours may be defined as empty.
Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
|
| | |
|
| |
|
|
| |
ok beck@
|
| |
|
|
| |
ok jsing@
|
| |
|
|
|
|
|
|
| |
OS X fails to restore the old signal stack because the signal stack is
not enabled by default. This causes sigaltstack(2) to fail with ENOMEM
as ss_size is 0, < MINSIGSTCKSZ.
ok jsing@
|
| |
|
|
|
|
|
| |
a buffer was supplied then we copy the result into it. Also make the
failure case return values match the documentation.
Joint work with beck@
|
| | |
|
| | |
|
| |
|
|
| |
ok beck@
|
| |
|
|
|
|
| |
This avoids compiler warnings for always true/false conditionals and makes
the code readable. Also avoid pulling in modes_lcl.h, which should not be
used outside the library.
|
| |
|
|
|
|
| |
ciphers we no longer need the flags or code to support it.
ok beck@ miod@
|
| |
|
|
| |
ok beck@
|
| |
|
|
|
|
| |
Also remove unused des_ver.h, which exports some of these strings, but is not installed.
ok miod@ tedu@
|
| |
|
|
| |
8-line if() tests.
|
| | |
|
| |
|
|
|
|
|
|
| |
internal interfaces, and promoting them to being the public
AES_set_{enc,dec}rypt_key() interfaces. In non-FIPS mode, these public
interfaces were directly calling the private ones.
ok guenther@ jsing@
|
| |
|
|
|
| |
memcpy() with a negative size.
ok tedu@
|
| |
|
|
|
|
|
| |
Rather than casting password_callback to the correct function pointer
signature at every call site, change it to match the signature instead.
ok miod@ deraadt@ tedu@
|
| |
|
|
|
|
|
|
|
| |
signatures using the wrong oid for the signature type. The signature
verification code has thus been modified to allow these signatures to be
accepted, with a printf to stderr to notify the user something was fishy.
Remove this chunk; these signatures will no longer get accepted.
ok deraadt@ guenther@ jsing@ tedu@
|
| |
|
|
|
|
|
|
|
|
| |
RSA components to memory and clears them, but there is no unserializing
function, so its usefulness is close to zero.
A grep through the ports tree sources show that it is only present in ports
embedding their own openssl copy, and never used otherwise.
ok jsing@
|
| |
|
|
| |
ok miod@ deraadt@ guenther@
|
| |
|
|
|
|
|
|
| |
compiled-in, with nonfunctional code, to be able to cope with the RSA
patent.
However, we don't use this option, and the RSA patent has expired more than 10
years ago, so just drop this piece.
|
| | |
|
| |
|
|
| |
ok beck@ jsing@
|
| |
|
|
|
|
| |
mind should be using them.
ok deraadt@ miod@
|
| |
|
|
| |
ok deraadt@ miod@
|
| |
|
|
| |
ok deraadt@ miod@
|
| |
|
|
| |
buffer.
|
| |
|
|
| |
reasons.
|
| | |
|
| |
|
|
| |
ok jsing@
|
| |
|
|
| |
ok beck@ jsing@
|
| |
|
|
|
| |
these systems (vax being 30% faster!). (surprisingly, the prime candidate for
SMALL_REGISTER_BANK, SuperH, runs actually slower in that case)
|
| |
|
|
|
|
|
| |
which had never been installed, so it's unlikely something ever used this
in the last 15~20 years.
ok deraadt@ jsing@ beck@
|
| |
|
|
|
| |
possible to hit for real.
ok miod@ jsing@
|