|
#ifndef _OAUTH2LIB_SSL_
|
|
#define _OAUTH2LIB_SSL_
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
bool initialize_ssl();
|
|
|
|
SSL_CTX* ssl_get_ctx();
|
|
EVP_MD* ssl_get_sha256();
|
|
|
|
bool ssl_generate_cert();
|
|
|
|
bool ssl_use_ppcerts(SSL_CTX* ctx);
|
|
|
|
#endif //_OAUTH2LIB_SSL_
|