示例#1
0
static void ERR_unload_CAPI_strings(void)
{
    if (error_loaded) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(lib_code, CAPI_str_functs);
        ERR_unload_strings(lib_code, CAPI_str_reasons);
#endif
        error_loaded = 0;
    }
}
示例#2
0
static void
ERR_unload_NSS_strings(void) {
    if (NSS_error_init == 0) return;

#ifndef OPENSSL_NO_ERR
    ERR_unload_strings(NSS_lib_error_code, NSS_str_functs);
    ERR_unload_strings(NSS_lib_error_code, NSS_str_reasons);
#endif /*ndef OPENSSL_NO_ERR*/

    ERR_unload_strings(0, NSS_lib_name);
    NSS_error_init = 1;
}
static void ERR_unload_CL_strings(void)
{
    if (CL_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(CL_lib_error_code, CL_str_functs);
        ERR_unload_strings(CL_lib_error_code, CL_str_reasons);
#endif

#ifdef CL_LIB_NAME
        ERR_unload_strings(0, CL_lib_name);
#endif
        CL_error_init = 1;
    }
}
示例#4
0
static void ERR_unload_HWCRHK_strings(void)
{
    if (HWCRHK_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(HWCRHK_lib_error_code, HWCRHK_str_functs);
        ERR_unload_strings(HWCRHK_lib_error_code, HWCRHK_str_reasons);
#endif

#ifdef HWCRHK_LIB_NAME
        ERR_unload_strings(0, HWCRHK_lib_name);
#endif
        HWCRHK_error_init = 1;
    }
}
示例#5
0
static void ERR_unload_GMP_strings(void)
{
    if (GMP_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(GMP_lib_error_code, GMP_str_functs);
        ERR_unload_strings(GMP_lib_error_code, GMP_str_reasons);
#endif

#ifdef GMP_LIB_NAME
        ERR_unload_strings(0, GMP_lib_name);
#endif
        GMP_error_init = 1;
    }
}
示例#6
0
static void ERR_unload_EWES_strings(void)
{
    if (EWES_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(EWES_lib_error_code, EWES_str_functs);
        ERR_unload_strings(EWES_lib_error_code, EWES_str_reasons);
#endif

#ifdef EWES_LIB_NAME
        ERR_unload_strings(0, EWES_lib_name);
#endif
        EWES_error_init = 1;
    }
}
示例#7
0
static void ERR_unload_ATALLA_strings(void)
{
    if (ATALLA_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(ATALLA_lib_error_code, ATALLA_str_functs);
        ERR_unload_strings(ATALLA_lib_error_code, ATALLA_str_reasons);
#endif

#ifdef ATALLA_LIB_NAME
        ERR_unload_strings(0, ATALLA_lib_name);
#endif
        ATALLA_error_init = 1;
    }
}
示例#8
0
static void ERR_unload_RSAREF_strings(void)
{
    if (RSAREF_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(RSAREF_lib_error_code, RSAREF_str_functs);
        ERR_unload_strings(RSAREF_lib_error_code, RSAREF_str_reasons);
#endif

#ifdef RSAREF_LIB_NAME
        ERR_unload_strings(0, RSAREF_lib_name);
#endif
        RSAREF_error_init = 1;
    }
}
示例#9
0
static void ERR_unload_NURON_strings(void)
{
    if (NURON_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(NURON_lib_error_code, NURON_str_functs);
        ERR_unload_strings(NURON_lib_error_code, NURON_str_reasons);
#endif

#ifdef NURON_LIB_NAME
        ERR_unload_strings(0, NURON_lib_name);
#endif
        NURON_error_init = 1;
    }
}
示例#10
0
static void ERR_unload_UBSEC_strings(void)
{
    if (UBSEC_error_init == 0) {
#ifndef OPENSSL_NO_ERR
        ERR_unload_strings(UBSEC_lib_error_code, UBSEC_str_functs);
        ERR_unload_strings(UBSEC_lib_error_code, UBSEC_str_reasons);
#endif

#ifdef UBSEC_LIB_NAME
        ERR_unload_strings(0, UBSEC_lib_name);
#endif
        UBSEC_error_init = 1;
    }
}
示例#11
0
static void ERR_unload_DEADCAFE_strings(void)
	{
	if (DEADCAFE_error_init == 0)
		{
#ifndef OPENSSL_NO_ERR
		ERR_unload_strings(DEADCAFE_lib_error_code,DEADCAFE_str_functs);
		ERR_unload_strings(DEADCAFE_lib_error_code,DEADCAFE_str_reasons);
#endif

#ifdef DEADCAFE_LIB_NAME
		ERR_unload_strings(0,DEADCAFE_lib_name);
#endif
		DEADCAFE_error_init=1;
		}
	}
void ERR_unload_BECEEM_strings(void)
	{
	if (BECEEM_error_init == 0)
		{
#ifndef OPENSSL_NO_ERR
		ERR_unload_strings(BECEEM_lib_error_code, BECEEM_str_functs);
		ERR_unload_strings(BECEEM_lib_error_code, BECEEM_str_reasons);
#endif

#ifdef BECEEM_LIB_NAME
		ERR_unload_strings(0, BECEEM_lib_name);
#endif
		BECEEM_error_init = 1;
		}
	}
static void ERR_unload_SUREWARE_strings(void)
	{
	if (SUREWARE_error_init == 0)
		{
#ifndef OPENSSL_NO_ERR
		ERR_unload_strings(SUREWARE_lib_error_code,SUREWARE_str_functs);
		ERR_unload_strings(SUREWARE_lib_error_code,SUREWARE_str_reasons);
#endif

#ifdef SUREWARE_LIB_NAME
		ERR_unload_strings(0,SUREWARE_lib_name);
#endif
		SUREWARE_error_init=1;
		}
	}
示例#14
0
static void
ERR_unload_devcrypto_strings(void)
{
	if (devcrypto_error_init == 0) {
#ifndef OPENSSL_NO_ERR
		ERR_unload_strings(devcrypto_error_code, devcrypto_str_functs);
		ERR_unload_strings(devcrypto_error_code, devcrypto_str_reasons);
#endif

#ifdef DEVCRYPTO_LIB_NAME
		ERR_unload_strings(0, DEVCRYPTO_lib_name);
#endif
		devcrypto_error_init = 1;
	}
}
示例#15
0
static void
ERR_unload_pk11_strings(void)
	{
	if (pk11_error_init == 0)
		{
#ifndef OPENSSL_NO_ERR
		ERR_unload_strings(pk11_lib_error_code, pk11_str_functs);
		ERR_unload_strings(pk11_lib_error_code, pk11_str_reasons);
#endif

#ifdef PK11_ENGINE_LIB_NAME
		ERR_unload_strings(0, pk11_engine_lib_name);
#endif

		pk11_error_init = 1;
		}
}