#include <openssl/buffer.h>
#include <ctype.h>
-static CRYPTO_RWLOCK *bio_lookup_lock;
+CRYPTO_RWLOCK *bio_lookup_lock;
static CRYPTO_ONCE bio_lookup_init = CRYPTO_ONCE_STATIC_INIT;
/*
* family, such as AF_UNIX
*
* the return value is 1 on success, or 0 on failure, which
- * only happens if a memory allocation error occurred.
+ * only happens if a memory allocation error occured.
*/
static int addrinfo_wrap(int family, int socktype,
const void *where, size_t wherelen,
#endif
struct servent *se;
- /* Apparently, on WIN64, s_proto and s_port have traded places... */
+ /* Apprently, on WIN64, s_proto and s_port have traded places... */
#ifdef _WIN64
struct servent se_fallback = { NULL, NULL, NULL, 0 };
#else
return ret;
}
+
#endif /* OPENSSL_NO_SOCK */