BIO_set_flags: No newline in OpenSSL BIO_f_base64() result
Type(Type) 2013/10/1 14:37
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
(3,067 views)
[更多討論]
討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體
"BIO_set_flags: No newline in OpenSSL BIO_f_base64() result"
傳統頁面(電腦版)
© Vovo2000.com Mobile Version 小哈手機版 2024