Initial commit. It's far from finished.
This commit is contained in:
13
agent/agent_ssl.h
Normal file
13
agent/agent_ssl.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef AGENT_SSL
|
||||
#define AGENT_SSL
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
int connect_to_rmps(const char *hostname, int port);
|
||||
SSL_CTX* init_ctx();
|
||||
int verify_callback (int ok, X509_STORE_CTX *store);
|
||||
void show_certs(SSL* ssl);
|
||||
void load_certs(SSL_CTX *ctx, char *key, char *cert, char *ca);
|
||||
|
||||
#endif /* AGENT_SSL */
|
||||
Reference in New Issue
Block a user