}
-typedef struct mempacket_st {
+struct mempacket_st {
unsigned char *data;
int len;
unsigned int num;
unsigned int type;
-} MEMPACKET;
+};
static void mempacket_free(MEMPACKET *pkt)
{
BIO_set_retry_read(bio);
return -1;
}
- sk_MEMPACKET_shift(ctx->pkts);
+ (void)sk_MEMPACKET_shift(ctx->pkts);
ctx->currpkt++;
if (outl > thispkt->len)
if (SSL_is_dtls(clientssl)) {
s_to_c_bio = BIO_new(bio_s_mempacket_test());
- c_to_s_bio = BIO_new(bio_s_mempacket_test());;
+ c_to_s_bio = BIO_new(bio_s_mempacket_test());
} else {
s_to_c_bio = BIO_new(BIO_s_mem());
c_to_s_bio = BIO_new(BIO_s_mem());