| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
undocumented. It is an opaque struct used only internally, as a
sub-object of the public X509_VERIFY_PARAM type. All related API
functions take X509_VERIFY_PARAM arguments, so X509_VERIFY_PARAM_ID
is of no interest to the user.
|
| |
|
|
|
|
|
|
|
|
| |
reducing the risk of accidental misparsing:
Require whitespace after the function return type (before the
asterisk indicating that the function returns a pointer, if any)
and do not accept whitespace between the function name and the
opening parenthesis of the parameter list. These changes are not
a problem because we want that style for KNF reasons anyway.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
in one of the public openssl/ header files are all documented.
Before attempting to read this code, make sure that you are
fully vaccinated against leaning toothpick syndrome.
Example usage:
./check_complete.pl x509_vfy
./check_complete.pl -v x509 | less
Intentionally not linked to the build.
jsing@ agrees with the general direction.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
workaround for excessive malloc inspired by mariadb (just kidding).
|
| | |
|
| |
|
|
|
| |
for opaque DSA. I'll deal with that later. I also lobbed a KNF grenade
in here.
|
| |
|
|
|
| |
work with opaque DH, but one step at a time. While here, add a bunch of
missing spaces to reduce the eyebleed.
|
| |
|
|
|
| |
The remaining test needs some thinking (or disabling once we flip
the switch). It is currently marked with an XXX.
|
| |
|
|
|
|
| |
As a side effect, this also tests various aspects of ASN1_STRING_new(3),
ASN1_STRING_set(3), ASN1_STRING_length_set(3), ASN1_STRING_get0_data(3),
ASN1_STRING_length(3), and ASN1_STRING_type(3).
|
| |
|
|
|
| |
Related to the bugfixes in x509_req.c rev. 1.25.
OK tb@.
|
| | |
|
| |
|
|
|
|
|
| |
Also adjust for the changes to tlsext_sni_is_valid_hostname() and include
tests for IPv4 and IPv6 literals.
ok beck@
|
| |
|
|
| |
to reach into opaque structs.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
ruby can no longer generate certs with bogus wildcards in it to check
that they will fail to verify when creating TLS connections. It will
throw an error. This change needs openssl-ruby-tests-20211024p0 or later
to work.
|
| |
|
|
| |
ok tb@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
3rd (variadic) mode_t parameter is irrelevant. Many developers in the past
have passed mode_t (0, 044, 0644, or such), which might lead future people
to copy this broken idiom, and perhaps even believe this parameter has some
meaning or implication or application. Delete them all.
This comes out of a conversation where tb@ noticed that a strange (but
intentional) pledge behaviour is to always knock-out high-bits from
mode_t on a number of system calls as a safety factor, and his bewilderment
that this appeared to be happening against valid modes (at least visually),
but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef.
ok millert
|
| |
|
|
|
|
|
|
|
| |
This currently exercises various combinations of TLS versions and their
associated key exchange mechanisms. Note that this currently fails for
TLSv1.0/TLSv1.1 with RSA KEX (to be fixed shortly).
Over time all of the ssl regress should be moved into the dtls and tls
regress tests.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
From Jonas Termansen
|
| |
|
|
|
|
| |
on sortix.
Prompted by a diff by Jonas Termansen
|
| |
|
|
|
| |
This test now fails with the legacy verifier, due to
X509_V_FLAG_TRUSTED_FIRST being enabled by default.
|
| |
|
|
|
| |
by changing my regress environment instead. This reduces the delta to the NetBSD
upstream.
|
| |
|
|
|
|
| |
This makes the test pass on sparc64 where the compiler may otherwise
store the variable in the strlcpy/strlcat function's delay slot.
OK kettenis@
|
| | |
|
| |
|
|
| |
OK bluhm@
|
| | |
|
| |
|
|
|
|
| |
Add ulimit -c unlimited before running the tests like it is done in
other places in regress.
OK bluhm@
|
| |
|
|
| |
ok bluhm@
|
| |
|
|
|
|
|
|
|
|
|
| |
run the one failing test as a separate regress test. This way,
all regressions should be caught with REGRESS_FAIL_EARLY=yes or
on bluhm's regress webpage.
This needs an up-to-date openssl-ruby-tests package and an
upcoming commit by beck in x509_verify.c to work.
ok beck bluhm
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
will be passed to the test scripts.
|