History log of /openbsd-src/lib/libcrypto/bio/b_sock.c (Results 1 – 25 of 71)
Revision Date Author Comments
# acf64401 05-Jul-2023 beck <beck@openbsd.org>

Hide symbols in asn1 and bio

ok jsing@


# 4941afce 22-Dec-2022 schwarze <schwarze@openbsd.org>

in case of failure, always report the error with BIOerror();
OK tb@


# 9eb1373e 07-Feb-2018 bluhm <bluhm@openbsd.org>

Restore the old behavior when a port number without a host name is
passed to BIO_get_accept_socket(). This is part of the API and it
fixes "openssl ocsp -port 12345" in server mode.
from markus@; OK

Restore the old behavior when a port number without a host name is
passed to BIO_get_accept_socket(). This is part of the API and it
fixes "openssl ocsp -port 12345" in server mode.
from markus@; OK jsing@ beck@

show more ...


# 9de46b9d 06-Feb-2018 bluhm <bluhm@openbsd.org>

Do not call freeaddrinfo() with a NULL parameter.
OK jsing@


# 8e424b29 30-Apr-2017 beck <beck@openbsd.org>

No original OpenSSL code remains in this file. Relicense


# 9f345726 30-Apr-2017 beck <beck@openbsd.org>

Make BIO_get_host_ip just yet another getaddrinfo wrapper


# d6c65eec 30-Apr-2017 beck <beck@openbsd.org>

Rework BIO_accept to be more like modern code.
ok jsing@


# aec66ea5 30-Apr-2017 beck <beck@openbsd.org>

Microsoft Windows hates BIO_get_accept_socket in portable. Fix it to
not be awful or have any claims on supporting ipv6 when it does so
very badly
ok jsing@


# 5067ae9f 29-Jan-2017 beck <beck@openbsd.org>

Send the function codes from the error functions to the bit bucket,
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@


# 2d2a0070 20-Dec-2016 beck <beck@openbsd.org>

Delete completely useless crap and just use getaddrinfo. Fix man page
while we're at it.
Note for the nostalgic, since "wais" is still an alias in /etc/services
it will continue to work..
ok deraadt@

Delete completely useless crap and just use getaddrinfo. Fix man page
while we're at it.
Note for the nostalgic, since "wais" is still an alias in /etc/services
it will continue to work..
ok deraadt@ millert@ krw@

show more ...


# f1b4d7a8 03-Dec-2014 bcook <bcook@openbsd.org>

Move Windows OS-specific functions to make porting easier.

Several functions that need to be redefined for a Windows port are right
in the middle of other code that is relatively portable. This patc

Move Windows OS-specific functions to make porting easier.

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.

ok jsing@ deraadt@

show more ...


# be0a55f1 03-Dec-2014 bcook <bcook@openbsd.org>

We're not supporting 16-bit Windows, remove cast.

ok jsing@ deraadt@


# c0f961d4 26-Nov-2014 bcook <bcook@openbsd.org>

normalize set/getsockopt usage.

Remove the remaining random casts on optval. Fixups for this can be handled by
the portability layer all in once place.

Remove remaining fake socklen_t unions, thoug

normalize set/getsockopt usage.

Remove the remaining random casts on optval. Fixups for this can be handled by
the portability layer all in once place.

Remove remaining fake socklen_t unions, though beck@ points out that this also
removes support for socklen_t changing its length at runtime. RIP.

ok tedu@ beck@ miod@ deraadt@

show more ...


# e851d349 13-Oct-2014 bcook <bcook@openbsd.org>

The return value on success of fcntl(F_SETFL) is not actually specified,
only that it returns -1 on failure.

pointed out by guenther@


# fcc700e7 13-Oct-2014 bcook <bcook@openbsd.org>

Use O_NONBLOCK over FIONBIO.

Prefer this because it is the POSIX standard and has consistent behavior
across platforms.

Use BIO_socket_nbio consistently across the tree.

from Jonas 'Sortie' Terman

Use O_NONBLOCK over FIONBIO.

Prefer this because it is the POSIX standard and has consistent behavior
across platforms.

Use BIO_socket_nbio consistently across the tree.

from Jonas 'Sortie' Termansen, ok deraadt@

show more ...


# 1647f9e5 16-Jul-2014 deraadt <deraadt@openbsd.org>

do not need a variable to track locking, since all code paths have it
locked throughout.


# 74a2cbdc 13-Jul-2014 beck <beck@openbsd.org>

The bell tolls for BUF_strdup - Start the migration to using
intrinsics. This is the easy ones, a few left to check one at
a time.
ok miod@ deraadt@


# b6ab114e 11-Jul-2014 jsing <jsing@openbsd.org>

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need t

Only import cryptlib.h in the four source files that actually need it.
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@

show more ...


# 1ec18089 10-Jul-2014 miod <miod@openbsd.org>

Simplify realloc() usage; ok tedu@


# a8913c44 10-Jul-2014 jsing <jsing@openbsd.org>

Stop including standard headers via cryptlib.h - pull in the headers that
are needed in the source files that actually require them.

ok beck@ miod@


# a82edcd4 10-Jul-2014 bcook <bcook@openbsd.org>

replace getservbyname_r with getaddrinfo for portability

ok jsing@


# 6b12a480 09-Jul-2014 bcook <bcook@openbsd.org>

include <limits.h> for LONG_MIN/LONG_MAX.

Also remove <sys/filio.h> added from previous commit.
This was the wrong way to get FIONBIO.

ok jsing@


# 4d235d41 09-Jul-2014 bcook <bcook@openbsd.org>

add <sys/filio.h> header for FIONBIO

ok beck@


# cc7c479b 08-Jul-2014 jsing <jsing@openbsd.org>

Pretty much everything has SO_REUSEADDR - nuke the #ifdefs.

ok beck@


# 5072b6f7 08-Jul-2014 jsing <jsing@openbsd.org>

We have EAI_FAMILY - remove the #ifdefs.

ok beck@


123