char *buf = NULL;
fd_set readfds;
int ret = 1, width;
- int k, i;
+ int k;
unsigned long l;
SSL *con = NULL;
BIO *sbio;
else
width = s + 1;
for (;;) {
+ int i;
int read_from_terminal;
int read_from_sslcon;
SSL_renegotiate(con);
i = SSL_do_handshake(con);
printf("SSL_do_handshake -> %d\n", i);
- i = 0; /* 13; */
continue;
}
if ((buf[0] == 'R') && ((buf[1] == '\n') || (buf[1] == '\r'))) {
SSL_renegotiate(con);
i = SSL_do_handshake(con);
printf("SSL_do_handshake -> %d\n", i);
- i = 0; /* 13; */
continue;
}
if ((buf[0] == 'K' || buf[0] == 'k')
: SSL_KEY_UPDATE_NOT_REQUESTED);
i = SSL_do_handshake(con);
printf("SSL_do_handshake -> %d\n", i);
- i = 0;
continue;
}
if (buf[0] == 'c' && ((buf[1] == '\n') || (buf[1] == '\r'))) {
} else {
i = SSL_do_handshake(con);
printf("SSL_do_handshake -> %d\n", i);
- i = 0;
}
continue;
}