| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Error check BIO_new() both times it is used, drop unused j variable,
Error check BIO_printf() call and turn the whole thing into single exit.
Prompted by a diff by Niels Dossche
ok jsing
|
|
|
|
| |
From Niels Dossche
|
| |
|
|
|
|
|
|
| |
The underlying API will be removed, so these commands have to go.
ok beck
|
| |
|
|
|
|
|
| |
This should allow us to constify a sizable table in libcrypto in an
upcoming bump.
|
| |
|
|
|
|
| |
ok tb@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If no field separator is specified, default to using the comma plus space
separation, unless the compat flag is set.
Fixes an a bug with printing issuers and other things that contain UTF-8
Reported by Jean-Luc Duprat
The very simple fix ix is a joint effort by Henson and Levitte
Fixes libressl/portable issue #845
ok jsing
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nothing really uses the policy tree. It's desgined with built-in DoS
capabilities directly from the RFC. It will be removed from the attack
surface and replaced with something equivalent that doesn't grow
exponentially with the depth.
This removes the only reason the policy tree itself ever leaked out of
the library.
ok jsing
|
|
|
|
|
|
|
| |
These expose EVP_PKEY_{,public_,param_}check() to the command line.
They are currently noops and will be enabled in the upcoming bump.
ok inoguchi jsing
|
|
|
|
| |
ok inoguchi jsing
|
|
|
|
| |
Reminded by inoguchi jsing
|
|
|
|
|
|
|
|
|
|
| |
To handle incremental order value, added new option type OPTION_ORDER.
openssl(1) x509 requires this option handling, since,
- -CA and -signkey require to set both filename and incremental 'num'.
- -dates requires to set two variables in a row, startdate and enddate.
and this couldn't be solved by OPTION_FLAG_ORD.
ok tb@ and "I'd move forward with your current plan." from jsing@
|
|
|
|
| |
ok inoguchi@ tb@
|
|
|
|
|
|
| |
and testing purposes.
ok beck inoguchi jsing
|
| |
|
|
|
|
| |
ok tb@
|
|
|
|
|
|
| |
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.
|