diff options
Diffstat (limited to 'crypto/compat')
-rw-r--r-- | crypto/compat/.gitignore | 31 | ||||
-rw-r--r-- | crypto/compat/b_win.c | 5 |
2 files changed, 34 insertions, 2 deletions
diff --git a/crypto/compat/.gitignore b/crypto/compat/.gitignore new file mode 100644 index 0000000..7f05049 --- /dev/null +++ b/crypto/compat/.gitignore | |||
@@ -0,0 +1,31 @@ | |||
1 | arc4random.c | ||
2 | arc4random_aix.h | ||
3 | arc4random_freebsd.h | ||
4 | arc4random_hpux.h | ||
5 | arc4random_linux.h | ||
6 | arc4random_netbsd.h | ||
7 | arc4random_osx.h | ||
8 | arc4random_solaris.h | ||
9 | arc4random_uniform.c | ||
10 | arc4random_win.h | ||
11 | chacha_private.h | ||
12 | explicit_bzero.c | ||
13 | getentropy_aix.c | ||
14 | getentropy_freebsd.c | ||
15 | getentropy_hpux.c | ||
16 | getentropy_linux.c | ||
17 | getentropy_netbsd.c | ||
18 | getentropy_osx.c | ||
19 | getentropy_solaris.c | ||
20 | getentropy_win.c | ||
21 | reallocarray.c | ||
22 | recallocarray.c | ||
23 | strcasecmp.c | ||
24 | strlcat.c | ||
25 | strlcpy.c | ||
26 | strndup.c | ||
27 | strnlen.c | ||
28 | strsep.c | ||
29 | strtonum.c | ||
30 | timingsafe_bcmp.c | ||
31 | timingsafe_memcmp.c | ||
diff --git a/crypto/compat/b_win.c b/crypto/compat/b_win.c index e261cd2..45af839 100644 --- a/crypto/compat/b_win.c +++ b/crypto/compat/b_win.c | |||
@@ -8,7 +8,8 @@ | |||
8 | #include <ws2tcpip.h> | 8 | #include <ws2tcpip.h> |
9 | 9 | ||
10 | #include <openssl/bio.h> | 10 | #include <openssl/bio.h> |
11 | #include <openssl/err.h> | 11 | |
12 | #include "err_local.h" | ||
12 | 13 | ||
13 | int | 14 | int |
14 | BIO_sock_init(void) | 15 | BIO_sock_init(void) |
@@ -29,7 +30,7 @@ BIO_sock_init(void) | |||
29 | } | 30 | } |
30 | wsa_init_done = 1; | 31 | wsa_init_done = 1; |
31 | } | 32 | } |
32 | return (1); | 33 | return (1); |
33 | } | 34 | } |
34 | 35 | ||
35 | void | 36 | void |