mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
parent
8798c34283
commit
debdaceb44
@ -32,7 +32,7 @@ String Base64::Encode(const String& input)
|
|||||||
BIO_push(bio64, biomem);
|
BIO_push(bio64, biomem);
|
||||||
BIO_set_flags(bio64, BIO_FLAGS_BASE64_NO_NL);
|
BIO_set_flags(bio64, BIO_FLAGS_BASE64_NO_NL);
|
||||||
BIO_write(bio64, input.CStr(), input.GetLength());
|
BIO_write(bio64, input.CStr(), input.GetLength());
|
||||||
BIO_flush(bio64);
|
(void) BIO_flush(bio64);
|
||||||
|
|
||||||
char *outbuf;
|
char *outbuf;
|
||||||
long len = BIO_get_mem_data(biomem, &outbuf);
|
long len = BIO_get_mem_data(biomem, &outbuf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user