free_file_bio(BIO* bio)
{
char* pp = NULL;
- BIO_reset(bio);
+ (void)BIO_reset(bio);
(void)BIO_get_mem_data(bio, &pp);
free(pp);
BIO_free(bio);
}
/* yes we want to use this key */
data->use_key = 1;
- BIO_reset(data->ctag);
- BIO_reset(data->calgo);
- BIO_reset(data->cdigtype);
- BIO_reset(data->cdigest);
+ (void)BIO_reset(data->ctag);
+ (void)BIO_reset(data->calgo);
+ (void)BIO_reset(data->cdigtype);
+ (void)BIO_reset(data->cdigest);
}
/** See if XML element equals the zone name */
char buf[1024];
char* z = NULL;
long zlen;
- BIO_seek(zone, 0);
+ (void)BIO_seek(zone, 0);
zlen = BIO_get_mem_data(zone, &z);
if(!zlen || !z) return 0;
if(zlen >= (long)sizeof(buf)) return 0;
handle_keydigest(data, atts);
return;
} else if(strcasecmp(name, "Zone") == 0) {
- BIO_reset(data->czone);
+ (void)BIO_reset(data->czone);
return;
}
b = xml_selectbio(data, data->tag);
if(b) {
/* empty it */
- BIO_reset(b);
+ (void)BIO_reset(b);
}
}
xml_parse_setup(parser, &data, now);
/* parse it */
- BIO_reset(xml);
+ (void)BIO_reset(xml);
len = (int)BIO_get_mem_data(xml, &pp);
if(!len || !pp) {
if(verb) printf("out of memory\n");
if(verb >= 4) {
char* pp = NULL;
int len;
- BIO_seek(data.ds, 0);
+ (void)BIO_seek(data.ds, 0);
len = BIO_get_mem_data(data.ds, &pp);
printf("got DS bio %d: '", len);
(void)fwrite(pp, (size_t)len, 1, stdout);
int secure = 0;
int i;
- BIO_reset(p7s);
- BIO_reset(data);
+ (void)BIO_reset(p7s);
+ (void)BIO_reset(data);
if(!param || !store) {
if(verb) printf("out of memory\n");
char* pp = NULL;
int len;
FILE* out;
- BIO_seek(ds, 0);
+ (void)BIO_seek(ds, 0);
len = BIO_get_mem_data(ds, &pp);
if(!len || !pp) {
if(verb) printf("out of memory\n");