| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
use pledge and file locking. OK deraadt@
|
| | |
|
| |
|
|
|
|
| |
buf is at all times kept nul terminated, so there is no need to enforce
this again upon exit. (no need to move buf around after we exahust space.)
ok beck miod
|
| |
|
|
| |
ok miod@
|
| |
|
|
|
|
| |
move the bndec variable in tighter since it's not used elsewhere in the
loop, then always free it after use.
ok bcook miod
|
| |
|
|
| |
ok bcook@ deraadt@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The "authenticated encryption with additional data" API is used for
ciphers like AES-GCM or ChaCha20-Poly1305. The manpage is a beginning
and certainly needs more work, especially improvements in the EXAMPLES
section.
Based on agl's source code comments.
Converted from pod to mandoc by schwarze@
OK schwarze@ jsing@
|
| |
|
|
|
|
| |
the truncation check immediately following it was not updated to
match. Not an issue in practice since the buffers are the same
size. OK deraadt@
|
| | |
|
| |
|
|
|
|
| |
actual function. This removes the last ASN1_dup_of usage from the tree.
Feedback from doug@ and miod@
|
| |
|
|
|
|
| |
ASN1_item_{d2i,i2d}_{bio,fp}() function calls.
ok beck@ doug@
|
| | |
|
| | |
|
| |
|
|
| |
changes.
|
| |
|
|
| |
DSAPublicKey, DSAPrivateKey and DSAparams ASN1_ITEMs.
|
| |
|
|
|
|
|
|
| |
error was present in the original 2004 commit, so it hasn't been used in
over 11 years, thus exceeding our deprecation requirements by over a decade.
OpenSSL has chosen to *fix it*; we'll gladly watch it burn
ok jsing@
|
| |
|
|
|
|
| |
sizeof(struct sockaddr_un), so do the simple, portable thing
ok beck@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
openssl(1) has two mechanisms for operating: either a single execution
of one command (looking at argv[0] or argv[1]) or as an interactive
session than may execute any number of commands.
We already have a top level pledge that should cover all commands
and that's what interactive mode must continue using. However, we can
tighten up the pledges when only executing one command.
This is an initial stab at support and may contain regressions. Most
commands only need "stdio rpath wpath cpath". The pledges could be
further restricted by evaluating the situation after parsing options.
deraadt@ and beck@ are roughly fine with this approach.
|
| |
|
|
|
|
|
| |
which i have put in that order). this is not important, but helps look
for outliers which might be strange. it hints that "ioctl" should be
reassessed in a few places, to see if "tty" is better; that "unix" may
be used in some places where "route" could now work.
|
| |
|
|
|
| |
through and trying to bind failed v6 connects.
ok guenther
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
if the connect()s failed. In concert with some resolver fixes in libc,
this lets ntpd be tame()ed
problem isolated by theo, who had fun untangling the libc and libtls
behaviors to place blame for not being able to tame ntpd
ok beck@ deraadt@ jsing@
|
| | |
|
| |
|
|
|
| |
mark it as #ifndef LIBRESSL_INTERNAL at least we don't use this.
ok jsing@
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
certificate
validity times for tls connections.
ok jsing@
|
| |
|
|
| |
ok doug@
|
| | |
|
| |
|
|
|
| |
all the wading in here. "proc" is for the speed command, which fork()'s.
ok doug
|
| |
|
|
| |
ok deraadt@
|
| | |
|
| |
|
|
|
|
| |
20151005171301+1.09Z to be treated as a valid time.
ok beck@
|
| |
|
|
| |
ok millert@
|
| |
|
|
|
|
| |
additional bounds checks.
ok beck@
|
| |
|
|
| |
stop exporting it)
|
| |
|
|
| |
so wrap them to make internal calls go direct
|
| |
|
|
|
|
|
|
|
|
| |
Rather than a half-hearted attempt to free up resources and fix
ref counting at the SSL_CTX level, let SSL_free() do its job.
This diff got lost in the shuffle somewhere. It's from last year.
Ref counting error reported by Parakleta in github ticket #51. Thanks!
ok jsing@, beck@
|
| |
|
|
|
| |
http://marc.info/?l=openssl-dev&m=144374015404899&w=2
ok doug
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
in asn1 and x509 code, all dealing with an ASN1_TIME. This brings the parsing
together in one function that converts into a struct tm. While we are at it this
also brings us into conformance with RFC 5280 for times allowed in an X509 cert,
as OpenSSL is very liberal with what it allows.
input and fixes from deraadt@ jsing@ guethther@ and others.
ok krw@, guenther@, jsing@
|
| | |
|
| |
|
|
| |
ok jsing@, deraadt@
|
| |
|
|
| |
Found the hard way by Mark Patruck.
|
| |
|
|
|
|
|
| |
case, by deleting some useless '& of an array' we also eliminate the need
for the casts which prompted the original lint warnings
ok deraadt@
|
| | |
|
| |
|
|
| |
aside from line numbers.
|
| | |
|