|
OpenVPN
|
#include "syshead.h"#include <setjmp.h>#include <cmocka.h>#include "ssl.h"#include "ssl_verify.h"
Go to the source code of this file.
Functions | |
| int | parse_line (const char *line, char **p, const int n, const char *file, const int line_num, msglvl_t msglevel, struct gc_arena *gc) |
| int | pem_password_callback (char *buf, int size, int rwflag, void *u) |
| Callback to retrieve the user's password. | |
| void | cert_hash_remember (struct tls_session *session, const int cert_depth, const struct buffer *cert_hash) |
| result_t | verify_cert (struct tls_session *session, openvpn_x509_cert_t *cert, int cert_depth) |
| void cert_hash_remember | ( | struct tls_session * | session, |
| const int | cert_depth, | ||
| const struct buffer * | cert_hash | ||
| ) |
Definition at line 56 of file mock_ssl_dependencies.c.
| int parse_line | ( | const char * | line, |
| char ** | p, | ||
| const int | n, | ||
| const char * | file, | ||
| const int | line_num, | ||
| msglvl_t | msglevel, | ||
| struct gc_arena * | gc | ||
| ) |
Definition at line 40 of file mock_ssl_dependencies.c.
| int pem_password_callback | ( | char * | buf, |
| int | size, | ||
| int | rwflag, | ||
| void * | u | ||
| ) |
Callback to retrieve the user's password.
| buf | Buffer to return the password in |
| size | Size of the buffer |
| rwflag | Unused, needed for OpenSSL compatibility |
| u | Unused, needed for OpenSSL compatibility |
Definition at line 50 of file mock_ssl_dependencies.c.
| result_t verify_cert | ( | struct tls_session * | session, |
| openvpn_x509_cert_t * | cert, | ||
| int | cert_depth | ||
| ) |
Definition at line 63 of file mock_ssl_dependencies.c.
References FAILURE.