| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This moves them from .data to .data.rel.ro
ok deraadt@ inoguchi@
|
| |
|
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
| |
ok jsing@ tb@
|
|
|
|
| |
ok tb@ jsing@
|
|
|
|
|
|
| |
from r1.45 and thereby avoid a use-after-free spotted by schwarze.
ok schwarze
|
|
|
|
| |
From Nan at chinadtrace dot org. Thanks!
|
|
|
|
| |
the intent is more obvious.
|
| |
|
| |
|
|
|
|
| |
ok bcook@ beck@ doug@
|
| |
|
| |
|
|
|
|
| |
things...
|
|
|
|
| |
diff from Kinichiro Inoguchi (kinichiro.inoguchi (at) gmail.com)
|
|
|
|
| |
prodding & ok jsing
|
|
|
|
|
|
| |
buf a special name, recognize that most are PATH_MAX, and remove a few that
are not needed at all.
ok jsing beck
|
| |
|
|
|
|
|
|
|
|
|
| |
This pulls out and renames setup_ui/destroy_ui so we have something that
can be replaced as-needed, moving the the console setup code for Windows
to app_win.c in -portable, instead of needing a local patch to enable binary
console mode
ui_read/write are also simplified.
|
|
|
|
|
|
|
| |
We do not have any builtin or dynamic engines, meaning openssl(1) has
no way to use the engine command or parameters at all.
ok jsing@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes Coverity issue 21645.
ok bcook@
|
|
|
|
|
|
| |
Fixes Coverity issues 78795 and 78803.
ok bcook@
|
|
|
|
| |
ok miod@
|
|
|
|
| |
ok doug@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we no longer have dynamic engines, don't bother falling back to them
if a builtin engine is not found first.
Before:
$ openssl dgst -engine unknown
invalid engine "unknown"
27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=unknown
27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=dynamic
After:
$ openssl dgst -engine unknown
invalid engine "unknown"
27256010481532:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/engine/eng_list.c:384:id=unknown
ok doug@
|
|
|
|
| |
ok jsing@
|
|
|
|
|
|
|
|
|
|
| |
HP-UX defines BSIZE in its <sys/param.h>, and there is a route where its
getting included as a side-effect. I tracked back to at least from HP-UX 9.0
ca. 1993, up to the latest, so the user namespace is polluted.
from kinichiro <kinichiro.inoguchi@gmail.com>
ok miod@, jsing@
|
|
|
|
|
|
| |
also check the return value of an adjacent malloc() call.
ok jsing@
|
|
|
|
| |
option.
|
| |
|
|
|
|
| |
option type. In this case process the option as per normal.
|
|
|
|
|
| |
arbitrary number of arguments. This will allow for more complex option
handling as required by some of the openssl(1) applications.
|
|
|
|
| |
(as currently only implemented by some of the openssl(1) applications).
|
|
|
|
|
| |
that it has consumed. This allows for the handling of multiple unnamed
arguments, including lists of filenames.
|
|
|
|
|
|
|
| |
silently accept multiple unnamed arguments, ignoring all except the last.
This behaviour was already inconsistent between openssl(1) applications;
apply the principal of least surprise. This will also simplify the addition
of upcoming functionality.
|
| |
|
|
|
|
|
| |
allows for simpler code in the common cases and will allow for further
extension to support the complex cases.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Several functions that need to be redefined for a Windows port are right
in the middle of other code that is relatively portable. This patch
isolates the functions that need Windows-specific implementations so
they can be built conditionally in the portable tree.
Add calls to BIO_sock_init() as-needed to openssl(1) so that socket IO works on
Windows. Sorry, these are no-op on other platforms.
ok jsing@ deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
| |
If the option/argument string exceeds the given width, add a hanging indent
prior to displaying the description. Also, if the description includes
newlines, wrap and indent for each newline so that the indentation is
correctly maintained.
|
|
|
|
|
| |
values are useable by the function. Also provide an option type that calls
a function without consuming/passing an argument.
|
| |
|
| |
|
| |
|
| |
|