Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
libb64
initialize-coder-state.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File initialize-coder-state.diff of Package libb64
Description: initialize encoder/decoder state in the constructors Author: Jakub Wilk <jwilk@debian.org> Forwarded: no Last-Update: 2013-01-11 --- a/include/b64/decode.h +++ b/include/b64/decode.h @@ -25,7 +25,9 @@ decoder(int buffersize_in = BUFSIZ) : _buffersize(buffersize_in) - {} + { + base64_init_decodestate(&_state); + } int decode(char value_in) { --- a/include/b64/encode.h +++ b/include/b64/encode.h @@ -25,7 +25,9 @@ encoder(int buffersize_in = BUFSIZ) : _buffersize(buffersize_in) - {} + { + base64_init_encodestate(&_state); + } int encode(char value_in) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor