diff --git a/socketlib.c b/socketlib.c index 82e63e81..9efdf221 100644 --- a/socketlib.c +++ b/socketlib.c @@ -183,7 +183,7 @@ void delay(long pMillisecs, struct timeval *pRes) select(0,NULL,NULL,NULL,pRes); } -int getCorrectedEncodeSize(int pSize) +static int getCorrectedEncodeSize(int pSize) { if(pSize % 4 == 0) { @@ -264,7 +264,7 @@ char *encode_base64(unsigned char *input, int length) b64 = BIO_push(b64, bmem); BIO_write(b64, input, length); - BIO_flush(b64); + (void)BIO_flush(b64); BIO_get_mem_ptr(b64, &bptr); char *buff = (char *)malloc(bptr->length);