Removed BIOs

This commit is contained in:
2020-12-11 17:08:13 +01:00
parent 77852d9626
commit bbbde82a46
3 changed files with 0 additions and 11 deletions

View File

@ -200,11 +200,6 @@ int main(int argc, const char *argv[]) {
return 1;
}
client.bio_in = BIO_new(BIO_s_mem());
client.bio_out = BIO_new(BIO_s_mem());
BIO_set_mem_eof_return(client.bio_in, -1);
BIO_set_mem_eof_return(client.bio_out, -1);
for (int i = 0; i < NUM_SOCKETS; i++) {
if (listen(SOCKETS[i], LISTEN_BACKLOG) == -1) {
fprintf(stderr, ERR_STR "Unable to listen on socket %i: %s" CLR_STR "\n", i, strerror(errno));