Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
4c8b47ff
Commit
4c8b47ff
authored
Feb 18, 2016
by
Peter Barker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base64: correct linkage of base64_maps_rfc4648
Two copies of this map meant only the tests would ever work.
parent
a2401780
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ccan/base64/base64.c
ccan/base64/base64.c
+1
-1
ccan/base64/base64.h
ccan/base64/base64.h
+1
-1
No files found.
ccan/base64/base64.c
View file @
4c8b47ff
...
@@ -209,7 +209,7 @@ ssize_t base64_decode_using_maps(const base64_maps_t *maps,
...
@@ -209,7 +209,7 @@ ssize_t base64_decode_using_maps(const base64_maps_t *maps,
/**
/**
* base64_maps_rfc4648 - pregenerated maps struct for rfc4648
* base64_maps_rfc4648 - pregenerated maps struct for rfc4648
*/
*/
static
const
base64_maps_t
base64_maps_rfc4648
=
{
const
base64_maps_t
base64_maps_rfc4648
=
{
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
,
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
,
"
\xff\xff\xff\xff\xff
"
/* 0 */
\
"
\xff\xff\xff\xff\xff
"
/* 0 */
\
...
...
ccan/base64/base64.h
View file @
4c8b47ff
...
@@ -122,7 +122,7 @@ int base64_decode_tail_using_maps(const base64_maps_t *maps, char *dest,
...
@@ -122,7 +122,7 @@ int base64_decode_tail_using_maps(const base64_maps_t *maps, char *dest,
/* the rfc4648 functions: */
/* the rfc4648 functions: */
static
const
base64_maps_t
base64_maps_rfc4648
;
extern
const
base64_maps_t
base64_maps_rfc4648
;
/**
/**
* base64_encode - Encode a buffer into base64 according to rfc4648
* base64_encode - Encode a buffer into base64 according to rfc4648
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment