Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/Simple-WebSocket-Server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreidheim <eidheim@gmail.com>2014-08-23 11:54:15 +0400
committereidheim <eidheim@gmail.com>2014-08-23 11:54:15 +0400
commit134ce605c60debb0716e9dae4ef4ec02aa02533a (patch)
tree9a0f3e9dc9b2bc4e2823221a3bb92e60e43ac658 /crypto.hpp
parentfcc87c589bc28a9e69e6b3f8678fd6a43571bd8d (diff)
removed newlines from Base64::encode
Diffstat (limited to 'crypto.hpp')
-rw-r--r--crypto.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto.hpp b/crypto.hpp
index e953b34..24afca4 100644
--- a/crypto.hpp
+++ b/crypto.hpp
@@ -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);