Skip to content

Commit

Permalink
fix more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria committed May 24, 2017
1 parent 57d24c5 commit fc70e48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/CDsock/tls/compat/arc4random.c
Expand Up @@ -66,6 +66,7 @@ static inline void _rs_forkdetect(void);
#include "arc4random.h"

int getentropy(void *buf, size_t len);
void explicit_bzero(void *buf, size_t len);

static inline void _rs_rekey(u_char *dat, size_t datlen);

Expand Down
4 changes: 4 additions & 0 deletions Sources/CDsock/tls/compat/openssl.c
Expand Up @@ -24,6 +24,10 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <ctype.h>

int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
const char *CApath);

int SSL_CTX_load_verify_mem(SSL_CTX *ctx, void *buf, int len)
{
Expand Down

0 comments on commit fc70e48

Please sign in to comment.