CVSROOT: /cvs Module name: src Changes by: bc...@cvs.openbsd.org 2014/12/03 15:16:02
Modified files: usr.bin/openssl: Makefile apps.c s_socket.c Added files: usr.bin/openssl: apps_posix.c Log message: 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. Add calls to BIO_sock_init() as-needed to openssl(1) so that socket IO works on Windows. Sorry, these are no-op on other platforms. ok jsing@ deraadt@