Tor  0.4.7.0-alpha-dev
Functions
crypto_nss_mgt.c File Reference

Manage the NSS library (if used) More...

#include "lib/crypt_ops/crypto_nss_mgt.h"
#include "lib/log/log.h"
#include "lib/log/util_bug.h"
#include "lib/string/printf.h"
#include <nss.h>
#include <pk11func.h>
#include <ssl.h>
#include <prerror.h>
#include <prtypes.h>
#include <prinit.h>

Go to the source code of this file.

Functions

const char * crypto_nss_get_version_str (void)
 
const char * crypto_nss_get_header_version_str (void)
 
static char * nss_password_func_always_fail (PK11SlotInfo *slot, PRBool retry, void *arg)
 
void crypto_nss_early_init (int nss_only)
 
void crypto_nss_log_errors (int severity, const char *doing)
 
int crypto_nss_late_init (void)
 
void crypto_nss_global_cleanup (void)
 
void crypto_nss_prefork (void)
 
void crypto_nss_postfork (void)
 

Detailed Description

Manage the NSS library (if used)

Definition in file crypto_nss_mgt.c.

Function Documentation

◆ nss_password_func_always_fail()

static char* nss_password_func_always_fail ( PK11SlotInfo *  slot,
PRBool  retry,
void *  arg 
)
static

A password function that always returns NULL.

Definition at line 42 of file crypto_nss_mgt.c.