BIO_set_flags: No newline in OpenSSL BIO_f_base64() result
Use BIO_set_flags(BIO, flags);
to make result be within one line.
代碼:
b64 = BIO_new(BIO_f_base64());
BIO_set_flags(b64, BIO_FLAGS_BASE64_NO_NL); /* Within ONE line */
Ref: https://www.openssl.org/docs/crypto/BIO_f_base64.html
________________
美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀