mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
Silence used return value warning of BIO_flush
This commit is contained in:
parent
c8fb3f112d
commit
70923f41df
@ -47,7 +47,7 @@ std::string ssllib_b64enc(const char* text, size_t textlen)
|
||||
|
||||
BIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL); //Ignore newlines - write everything in one line
|
||||
BIO_write(bio, text, (int)textlen);
|
||||
BIO_flush(bio);
|
||||
EXPECT_TRUE(BIO_flush(bio) == 1);
|
||||
const char* encdata;
|
||||
long len = BIO_get_mem_data(bio, &encdata);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user