version 1.8, 2013/11/08 11:15:19 |
version 1.9, 2014/02/02 03:44:31 |
|
|
/* Store the binary data. */ |
/* Store the binary data. */ |
buffer_append(buffer, buf, oi); |
buffer_append(buffer, buf, oi); |
|
|
memset(buf, 0, bin_size); |
explicit_bzero(buf, bin_size); |
free(buf); |
free(buf); |
|
|
return (0); |
return (0); |
|
|
} |
} |
hasnohigh = (buf[1] & 0x80) ? 0 : 1; |
hasnohigh = (buf[1] & 0x80) ? 0 : 1; |
buffer_put_string(buffer, buf+hasnohigh, bytes-hasnohigh); |
buffer_put_string(buffer, buf+hasnohigh, bytes-hasnohigh); |
memset(buf, 0, bytes); |
explicit_bzero(buf, bytes); |
free(buf); |
free(buf); |
return (0); |
return (0); |
} |
} |