Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_x509.c File Reference
#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)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ process_args()

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:

◆ verify_chain()

static int verify_chain ( const N_STR ca_pem,
const N_STR leaf_pem 
)
static
Examples
ex_x509.c.

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: