diff options
author | eidheim <eidheim@gmail.com> | 2014-08-23 11:54:15 +0400 |
---|---|---|
committer | eidheim <eidheim@gmail.com> | 2014-08-23 11:54:15 +0400 |
commit | 134ce605c60debb0716e9dae4ef4ec02aa02533a (patch) | |
tree | 9a0f3e9dc9b2bc4e2823221a3bb92e60e43ac658 /crypto.hpp | |
parent | fcc87c589bc28a9e69e6b3f8678fd6a43571bd8d (diff) |
removed newlines from Base64::encode
Diffstat (limited to 'crypto.hpp')
-rw-r--r-- | crypto.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ namespace SimpleWeb { BUF_MEM *bptr; b64 = BIO_new(BIO_f_base64()); + BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL); bio = BIO_new(BIO_s_mem()); BIO_push(b64, bio); BIO_get_mem_ptr(b64, &bptr); |