![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include "nilorea/n_log.h"#include "nilorea/n_str.h"#include "nilorea/n_x509.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <openssl/pem.h>#include <openssl/x509.h>#include <openssl/x509_vfy.h>
Include dependency graph for ex_x509.c:Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| void | process_args (int argc, char **argv) |
| static int | verify_chain (const N_STR *ca_pem, const N_STR *leaf_pem) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 101 of file ex_x509.c.
References failures, free_nstr, key, LOG_ERR, LOG_NOTICE, n_log, n_x509_generate_ca(), n_x509_keypair_pem(), n_x509_mint_host_cert(), process_args(), set_log_level(), verify_chain(), and N_STR::written.
Here is the call graph for this function:| void process_args | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 41 of file ex_x509.c.
References LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_NULL, and set_log_level().
Here is the call graph for this function:Definition at line 73 of file ex_x509.c.
References N_STR::data, and N_STR::written.
Referenced by main().
Here is the caller graph for this function: