| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
a system/superuser binary. At the same time, move the source code from its
current lib/libssl/src/apps location to a more appropriate home under
usr.bin/openssl.
ok deraadt@ miod@
|
|
|
|
|
|
|
|
|
| |
These files currently depends on the wrapper <stdlib.h> file indirectly
including a header that provides select().
from Jonas 'Sortie' Termansen
ok deraadt@ tedu@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than passing in a fixed size buffer.
This is yet another example of a horribly designed API - if the given
buffer is NULL then SSL_CIPHER_description() allocates one for us (great!),
which we then need to free (no problem). However, if this allocation fails
it returns a pointer to a static string "OPENSSL_malloc Error" - obviously
bad things happen if we call free() with this pointer.
Unfortunately, there is no way of knowing that the function failed, other
than comparing the returned string against the string literal - so do that
before calling free()...
Joint work with beck@ during g2k14.
|
|
|
|
| |
ok bcook@
|
|
|
|
|
|
|
|
|
|
|
| |
the details are under embargo. The original plan was to wait for the
embargo to lift, but we've been waiting for quite some time, and there's no
indication of when or even if it will end. No sense in dragging this out
any longer.
The SRP code has never been enabled in OpenBSD, though I understand it is
in use by some other people. However, in light of this and other issues,
we're officially saying SRP is outside the scope of libressl. (For now.)
|
|
|
|
|
|
| |
Remove unnecessary NULL check.
ok miod@
|
|
|
|
|
|
| |
when BIO_new_{file,fp}() fails.
inspired by a diff from logan@ ok miod@
|
|
|
|
| |
ok deraadt@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
intrinsics. This is the easy ones, a few left to check one at
a time.
ok miod@ deraadt@
|
|
|
|
|
|
|
|
| |
This allows us to remove the ERR_load_crypto_strings() call, along with
the various SSL_load_error_strings() and OpenSSL_add_ssl_algorithms()
calls scattered around the place.
ok beck@
|
|
|
|
|
|
| |
load_config() once when we start.
ok miod@
|
|
|
|
|
| |
baggage.
ok miod@ jsing@
|
|
|
|
| |
NONE, even if this is due to the fact that we do not support compression.
|
| |
|
|
|
|
| |
ok beck@ jsing@
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
(Thanks to Brent Cook)
OK from jsing@
|
|
|
|
|
|
| |
(Thanks to Brent Cook)
OK from jsing@
|
|
|
|
|
|
| |
are the current range checks. Help from millert and lteo. Please test
now that it is deployed and let us know if any numbers are off..
ok lteo
|
|
|
|
|
|
| |
Thanks to Brenk Cook.
OK from miod@
|
|
|
|
|
|
|
|
| |
7 years ago and never made it into an RFC. That code wasn't compiled in
anyway unless one would define the actual on-the-wire extension id bytes;
crank libssl major.
With help and enlightenment from Brendan MacDonell.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
In the past, time_t's type was underspecified. But a floating point type
would not have worked in practice. Newer specifications effectively forbid it.
While cleaning this up, get partly ready for Y2038.
ok miod
|
|
|
|
| |
ok miod
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The underlying code has long been removed, making this a no-op.
If your random subsystem actually requires that you seed it from a file,
then you really should go and buy a new random subsystem that was built
after 1990.
Diff from Brent Cook.
ok deraadt@
|
| |
|
|
|
|
|
|
|
| |
based initialisation, use more readable variable names and use a goto
rather than duplicating the frees for the error and non-error paths...
ok beck@
|
| |
|
| |
|
|
|
|
| |
in the "size_t nmemb, size_t size"
|
|
|
|
|
|
|
|
|
| |
potential integer overflows easily changed into an allocation return
of NULL, with errno nicely set if need be. checks for an allocations
returning NULL are commonplace, or if the object is dereferenced
(quite normal) will result in a nice fault which can be detected &
repaired properly.
ok tedu
|
|
|
|
|
| |
that it brings in <openssl/opensslconf.h>, so just do that instead
(currently via apps.h).
|
|
|
|
|
|
| |
CID: 966576 & 966577
OK from guenther@ and "Yup. looks good." from tedu@
|
|
|
|
|
|
|
|
| |
info." instead.
From Martin Kaiser.
OK from tedu@
|
|
|
|
|
| |
reference, check out http://www.watt-32.net/
ok jsing
|
| |
|
|
|
|
| |
it is needed.
|
|
|
|
|
|
| |
this again in each app.
ok miod@
|
| |
|