| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Also, run all x25519 tests, don't stop on first failure.
|
|
|
|
| |
Silence is good. On failure, the regress framework will make it clear.
|
| |
|
|
|
|
|
| |
Some tests current fail due to a bug in BN_ucmp(), which will be fixed
soon.
|
|
|
|
| |
fixed in x509_constraints.c r1.29.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.
Adjust all .c files in libcrypto, libssl and regress.
The diff is mechanical with the exception of tls13_quic.c, where
#include <ssl_locl.h> was fixed manually.
discussed with jsing,
no objection bcook
|
| |
|
|
|
|
|
| |
it appears that all BN public symbols are now documented,
except those intentionally undocumented.
|
|
|
|
|
|
| |
constraints.c:269: warning: ISO C90 forbids mixed declarations and code
from tb
|
|
|
|
| |
checks for BIO_reset().
|
|
|
|
|
|
|
|
|
|
| |
* List internal constants and types that are intentionally undocumented.
* List unused constants and types that are intentionally undocumented.
* Cope with intentionally undocumented identifiers being declared
more than once (in this case, because of #if and #else).
* Require exact matches for man -k searches (in this case,
such that BN_BITS does not match BN_BITS2).
* Handle the weird BN_ULONG, which is #define'd instead of using typedef.
|
|
|
|
| |
from bcook
|
|
|
|
|
|
|
| |
Apparently, the '0' in memset(a, '0', size - 1); could be a typo for '\0'.
Randomize the decimal digit to make the intent clear.
CID 377009
|
|
|
|
|
|
|
|
|
|
| |
Check for ASN_STRING_to_UTF8() failure before checking it matches our
expectations. This should convey clearly that test->want_len is never
negative.
CID 377011
Diagnosed by jsing
|
| |
|
|
|
|
| |
CID 377010
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
need in order to run.
Also, output the expected SKIPPED string as dictated by bsd.regress.mk.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Turns out that after ~40 years of practice I still can't do addition
with carry correctly :S
|
|
|
|
| |
things.
|
| |
|
|
|
|
|
|
|
|
| |
Generate random signatures of random messages and verify them. Then check
that the signature modified by adding the edwards25519 group order to the
upper half are rejected. This would not always be accepted without the
check in curve25519.c r1.14, but often enough that a few iterations suffice
to expose the missing check.
|
| |
|
|
|
|
| |
ok jsing@ tb@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
that tb@ removed from asn1.h on January 14:
rev. 1.58: ASN1_CTX ASN1_const_CTX
rev. 1.60: ASN1_OBJECT_FLAG_CRITICAL ASN1_OBJECT_FLAG_DYNAMIC
rev. 1.60: ASN1_OBJECT_FLAG_DYNAMIC_DATA ASN1_OBJECT_FLAG_DYNAMIC_STRINGS
rev. 1.61: NETSCAPE_X509 NETSCAPE_X509_free NETSCAPE_X509_new
rev. 1.61: d2i_NETSCAPE_X509 i2d_NETSCAPE_X509
|
|
|
|
| |
files.
|
| |
|
|
|
|
| |
Struct tm is limited by it's year being an int.
|
| |
|
| |
|
| |
|
|
|
|
| |
ok jsing@ tb@
|
|
|
|
| |
ok jsing@
|
|
|
|
| |
ok jsing@
|
| |
|
|
|
|
| |
ok tb@
|
| |
|
|
|
|
| |
From tb@
|
|
|
|
| |
ok tb@ jsing@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This regression tests time conversion across various
limits, leap seconds, and daylight transistions.
gmtime_r, localtime_r, timegm, and mktime are
tested against themselves and expected outputs.
It requires the "posix" and "right" zoneinfo to be
installed on the test running machine in order to
access testable time zones. If those are not present
the test is skipped successfully with a warning.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
---
Fix sparc64 build
cc1: warnings being treated as errors
.../constraints.c: In function 'test_constraints1':
.../constraints.c:451: warning: ISO C90 forbids mixed declarations and code
Fix RCS ID while here.
|