-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
None
mongoc-b64.c, b64_pton.h, and b64_ntop.h share a lot of code. Furthermore there are three identical declarations of the static "Base64" symbol. Data shouldn't be in a header, since then the header can't be included by more than on C file. Let's clean all this up and make libbson functions that do whatever we need with Base 64 encoding and decoding.
- causes
-
CDRIVER-2693 Segfault in bson_b64_pton parsing valid BSON
- Closed
- is related to
-
CDRIVER-508 Can't compile, static and non-static b64 functions
- Closed