/**
@file bio_hello.c
@author Mitch Richling
@Copyright Copyright 2008 by Mitch Richling. All rights reserved.
@brief Simple OpenSSL I/O example program.@EOL
@Keywords hello world openssl bio
@Std C99
This code has no error checking so that the basic
concepts are more visible.
https://www.mitchr.me/SS/exampleCode/openssl.html
*/
#include
#include
#include
int main(int argc, char *argv[]);
int main(int argc, char *argv[]) {
BIO *bio_stdout;
bio_stdout = BIO_new_fp(stdout, BIO_NOCLOSE);
BIO_printf(bio_stdout, "Hello\n");
BIO_free_all(bio_stdout);
return 0;
}