Rebuild error source files.
This commit is contained in:
parent
f6cdaa96c0
commit
ea474c567f
25 changed files with 127 additions and 199 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/asn1/asn1_err.c */
|
/* crypto/asn1/asn1_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -240,15 +240,12 @@ static ERR_STRING_DATA ASN1_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_ASN1_strings(void)
|
void ERR_load_ASN1_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(ASN1_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,ASN1_str_functs);
|
ERR_load_strings(0,ASN1_str_functs);
|
||||||
ERR_load_strings(0,ASN1_str_reasons);
|
ERR_load_strings(0,ASN1_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/bio/bio_err.c */
|
/* crypto/bio/bio_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -142,15 +142,12 @@ static ERR_STRING_DATA BIO_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_BIO_strings(void)
|
void ERR_load_BIO_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(BIO_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,BIO_str_functs);
|
ERR_load_strings(0,BIO_str_functs);
|
||||||
ERR_load_strings(0,BIO_str_reasons);
|
ERR_load_strings(0,BIO_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/bn/bn_err.c */
|
/* crypto/bn/bn_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -125,15 +125,12 @@ static ERR_STRING_DATA BN_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_BN_strings(void)
|
void ERR_load_BN_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(BN_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,BN_str_functs);
|
ERR_load_strings(0,BN_str_functs);
|
||||||
ERR_load_strings(0,BN_str_reasons);
|
ERR_load_strings(0,BN_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/buffer/buf_err.c */
|
/* crypto/buffer/buf_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -85,15 +85,12 @@ static ERR_STRING_DATA BUF_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_BUF_strings(void)
|
void ERR_load_BUF_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(BUF_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,BUF_str_functs);
|
ERR_load_strings(0,BUF_str_functs);
|
||||||
ERR_load_strings(0,BUF_str_reasons);
|
ERR_load_strings(0,BUF_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/conf/conf_err.c */
|
/* crypto/conf/conf_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -116,15 +116,12 @@ static ERR_STRING_DATA CONF_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_CONF_strings(void)
|
void ERR_load_CONF_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(CONF_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,CONF_str_functs);
|
ERR_load_strings(0,CONF_str_functs);
|
||||||
ERR_load_strings(0,CONF_str_reasons);
|
ERR_load_strings(0,CONF_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/cpt_err.c */
|
/* crypto/cpt_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -92,15 +92,12 @@ static ERR_STRING_DATA CRYPTO_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_CRYPTO_strings(void)
|
void ERR_load_CRYPTO_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(CRYPTO_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,CRYPTO_str_functs);
|
ERR_load_strings(0,CRYPTO_str_functs);
|
||||||
ERR_load_strings(0,CRYPTO_str_reasons);
|
ERR_load_strings(0,CRYPTO_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/dh/dh_err.c */
|
/* crypto/dh/dh_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -91,15 +91,12 @@ static ERR_STRING_DATA DH_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_DH_strings(void)
|
void ERR_load_DH_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(DH_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,DH_str_functs);
|
ERR_load_strings(0,DH_str_functs);
|
||||||
ERR_load_strings(0,DH_str_reasons);
|
ERR_load_strings(0,DH_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/dsa/dsa_err.c */
|
/* crypto/dsa/dsa_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -100,15 +100,12 @@ static ERR_STRING_DATA DSA_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_DSA_strings(void)
|
void ERR_load_DSA_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(DSA_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,DSA_str_functs);
|
ERR_load_strings(0,DSA_str_functs);
|
||||||
ERR_load_strings(0,DSA_str_reasons);
|
ERR_load_strings(0,DSA_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/dso/dso_err.c */
|
/* crypto/dso/dso_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -125,15 +125,12 @@ static ERR_STRING_DATA DSO_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_DSO_strings(void)
|
void ERR_load_DSO_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(DSO_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,DSO_str_functs);
|
ERR_load_strings(0,DSO_str_functs);
|
||||||
ERR_load_strings(0,DSO_str_reasons);
|
ERR_load_strings(0,DSO_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/ec/ec_err.c */
|
/* crypto/ec/ec_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -139,15 +139,12 @@ static ERR_STRING_DATA EC_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_EC_strings(void)
|
void ERR_load_EC_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(EC_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,EC_str_functs);
|
ERR_load_strings(0,EC_str_functs);
|
||||||
ERR_load_strings(0,EC_str_reasons);
|
ERR_load_strings(0,EC_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/engine/eng_err.c */
|
/* crypto/engine/eng_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -156,15 +156,12 @@ static ERR_STRING_DATA ENGINE_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_ENGINE_strings(void)
|
void ERR_load_ENGINE_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(ENGINE_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,ENGINE_str_functs);
|
ERR_load_strings(0,ENGINE_str_functs);
|
||||||
ERR_load_strings(0,ENGINE_str_reasons);
|
ERR_load_strings(0,ENGINE_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/evp/evp_err.c */
|
/* crypto/evp/evp_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -157,15 +157,12 @@ static ERR_STRING_DATA EVP_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_EVP_strings(void)
|
void ERR_load_EVP_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(EVP_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,EVP_str_functs);
|
ERR_load_strings(0,EVP_str_functs);
|
||||||
ERR_load_strings(0,EVP_str_reasons);
|
ERR_load_strings(0,EVP_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/objects/obj_err.c */
|
/* crypto/objects/obj_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -91,15 +91,12 @@ static ERR_STRING_DATA OBJ_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_OBJ_strings(void)
|
void ERR_load_OBJ_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(OBJ_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,OBJ_str_functs);
|
ERR_load_strings(0,OBJ_str_functs);
|
||||||
ERR_load_strings(0,OBJ_str_reasons);
|
ERR_load_strings(0,OBJ_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/ocsp/ocsp_err.c */
|
/* crypto/ocsp/ocsp_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -129,15 +129,12 @@ static ERR_STRING_DATA OCSP_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_OCSP_strings(void)
|
void ERR_load_OCSP_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(OCSP_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,OCSP_str_functs);
|
ERR_load_strings(0,OCSP_str_functs);
|
||||||
ERR_load_strings(0,OCSP_str_reasons);
|
ERR_load_strings(0,OCSP_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/pem/pem_err.c */
|
/* crypto/pem/pem_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -121,15 +121,12 @@ static ERR_STRING_DATA PEM_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_PEM_strings(void)
|
void ERR_load_PEM_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(PEM_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,PEM_str_functs);
|
ERR_load_strings(0,PEM_str_functs);
|
||||||
ERR_load_strings(0,PEM_str_reasons);
|
ERR_load_strings(0,PEM_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/pkcs12/pk12err.c */
|
/* crypto/pkcs12/pk12err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -132,15 +132,12 @@ static ERR_STRING_DATA PKCS12_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_PKCS12_strings(void)
|
void ERR_load_PKCS12_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(PKCS12_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,PKCS12_str_functs);
|
ERR_load_strings(0,PKCS12_str_functs);
|
||||||
ERR_load_strings(0,PKCS12_str_reasons);
|
ERR_load_strings(0,PKCS12_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/pkcs7/pkcs7err.c */
|
/* crypto/pkcs7/pkcs7err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -150,15 +150,12 @@ static ERR_STRING_DATA PKCS7_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_PKCS7_strings(void)
|
void ERR_load_PKCS7_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(PKCS7_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,PKCS7_str_functs);
|
ERR_load_strings(0,PKCS7_str_functs);
|
||||||
ERR_load_strings(0,PKCS7_str_reasons);
|
ERR_load_strings(0,PKCS7_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/rand/rand_err.c */
|
/* crypto/rand/rand_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -91,15 +91,12 @@ static ERR_STRING_DATA RAND_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_RAND_strings(void)
|
void ERR_load_RAND_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(RAND_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,RAND_str_functs);
|
ERR_load_strings(0,RAND_str_functs);
|
||||||
ERR_load_strings(0,RAND_str_reasons);
|
ERR_load_strings(0,RAND_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/rsa/rsa_err.c */
|
/* crypto/rsa/rsa_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -133,17 +133,17 @@ static ERR_STRING_DATA RSA_str_reasons[]=
|
||||||
{ERR_REASON(RSA_R_NULL_BEFORE_BLOCK_MISSING),"null before block missing"},
|
{ERR_REASON(RSA_R_NULL_BEFORE_BLOCK_MISSING),"null before block missing"},
|
||||||
{ERR_REASON(RSA_R_N_DOES_NOT_EQUAL_P_Q) ,"n does not equal p q"},
|
{ERR_REASON(RSA_R_N_DOES_NOT_EQUAL_P_Q) ,"n does not equal p q"},
|
||||||
{ERR_REASON(RSA_R_OAEP_DECODING_ERROR) ,"oaep decoding error"},
|
{ERR_REASON(RSA_R_OAEP_DECODING_ERROR) ,"oaep decoding error"},
|
||||||
{ERR_REASON(RSA_R_SLEN_RECOVERY_FAILED) ,"salt length recovery failed"},
|
|
||||||
{ERR_REASON(RSA_R_PADDING_CHECK_FAILED) ,"padding check failed"},
|
{ERR_REASON(RSA_R_PADDING_CHECK_FAILED) ,"padding check failed"},
|
||||||
{ERR_REASON(RSA_R_P_NOT_PRIME) ,"p not prime"},
|
{ERR_REASON(RSA_R_P_NOT_PRIME) ,"p not prime"},
|
||||||
{ERR_REASON(RSA_R_Q_NOT_PRIME) ,"q not prime"},
|
{ERR_REASON(RSA_R_Q_NOT_PRIME) ,"q not prime"},
|
||||||
{ERR_REASON(RSA_R_RSA_OPERATIONS_NOT_SUPPORTED),"rsa operations not supported"},
|
{ERR_REASON(RSA_R_RSA_OPERATIONS_NOT_SUPPORTED),"rsa operations not supported"},
|
||||||
|
{ERR_REASON(RSA_R_SLEN_CHECK_FAILED) ,"salt length check failed"},
|
||||||
|
{ERR_REASON(RSA_R_SLEN_RECOVERY_FAILED) ,"salt length recovery failed"},
|
||||||
{ERR_REASON(RSA_R_SSLV3_ROLLBACK_ATTACK) ,"sslv3 rollback attack"},
|
{ERR_REASON(RSA_R_SSLV3_ROLLBACK_ATTACK) ,"sslv3 rollback attack"},
|
||||||
{ERR_REASON(RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD),"the asn1 object identifier is not known for this md"},
|
{ERR_REASON(RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD),"the asn1 object identifier is not known for this md"},
|
||||||
{ERR_REASON(RSA_R_UNKNOWN_ALGORITHM_TYPE),"unknown algorithm type"},
|
{ERR_REASON(RSA_R_UNKNOWN_ALGORITHM_TYPE),"unknown algorithm type"},
|
||||||
{ERR_REASON(RSA_R_UNKNOWN_PADDING_TYPE) ,"unknown padding type"},
|
{ERR_REASON(RSA_R_UNKNOWN_PADDING_TYPE) ,"unknown padding type"},
|
||||||
{ERR_REASON(RSA_R_WRONG_SIGNATURE_LENGTH),"wrong signature length"},
|
{ERR_REASON(RSA_R_WRONG_SIGNATURE_LENGTH),"wrong signature length"},
|
||||||
{ERR_REASON(RSA_R_SLEN_CHECK_FAILED) ,"salt length check failed"},
|
|
||||||
{0,NULL}
|
{0,NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -151,15 +151,12 @@ static ERR_STRING_DATA RSA_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_RSA_strings(void)
|
void ERR_load_RSA_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(RSA_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,RSA_str_functs);
|
ERR_load_strings(0,RSA_str_functs);
|
||||||
ERR_load_strings(0,RSA_str_reasons);
|
ERR_load_strings(0,RSA_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/ui/ui_err.c */
|
/* crypto/ui/ui_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -101,15 +101,12 @@ static ERR_STRING_DATA UI_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_UI_strings(void)
|
void ERR_load_UI_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(UI_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,UI_str_functs);
|
ERR_load_strings(0,UI_str_functs);
|
||||||
ERR_load_strings(0,UI_str_reasons);
|
ERR_load_strings(0,UI_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/x509/x509_err.c */
|
/* crypto/x509/x509_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -146,15 +146,12 @@ static ERR_STRING_DATA X509_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_X509_strings(void)
|
void ERR_load_X509_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(X509_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,X509_str_functs);
|
ERR_load_strings(0,X509_str_functs);
|
||||||
ERR_load_strings(0,X509_str_reasons);
|
ERR_load_strings(0,X509_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* crypto/x509v3/v3err.c */
|
/* crypto/x509v3/v3err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -183,15 +183,12 @@ static ERR_STRING_DATA X509V3_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_X509V3_strings(void)
|
void ERR_load_X509V3_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(X509V3_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,X509V3_str_functs);
|
ERR_load_strings(0,X509V3_str_functs);
|
||||||
ERR_load_strings(0,X509V3_str_reasons);
|
ERR_load_strings(0,X509V3_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,7 @@ void ERR_load_FIPS_strings(void);
|
||||||
#define FIPS_F_DSA_DO_VERIFY 112
|
#define FIPS_F_DSA_DO_VERIFY 112
|
||||||
#define FIPS_F_DSA_GENERATE_PARAMETERS 110
|
#define FIPS_F_DSA_GENERATE_PARAMETERS 110
|
||||||
#define FIPS_F_FIPS_CHECK_DSA 116
|
#define FIPS_F_FIPS_CHECK_DSA 116
|
||||||
|
#define FIPS_F_FIPS_CHECK_DSO 120
|
||||||
#define FIPS_F_FIPS_CHECK_EXE 106
|
#define FIPS_F_FIPS_CHECK_EXE 106
|
||||||
#define FIPS_F_FIPS_CHECK_FINGERPRINT 120
|
#define FIPS_F_FIPS_CHECK_FINGERPRINT 120
|
||||||
#define FIPS_F_FIPS_CHECK_RSA 115
|
#define FIPS_F_FIPS_CHECK_RSA 115
|
||||||
|
@ -106,11 +107,11 @@ void ERR_load_FIPS_strings(void);
|
||||||
#define FIPS_F_RSA_GENERATE_KEY 113
|
#define FIPS_F_RSA_GENERATE_KEY 113
|
||||||
#define FIPS_F_RSA_X931_GENERATE_KEY 119
|
#define FIPS_F_RSA_X931_GENERATE_KEY 119
|
||||||
#define FIPS_F_SSLEAY_RAND_BYTES 101
|
#define FIPS_F_SSLEAY_RAND_BYTES 101
|
||||||
#define FIPS_F_FIPS_CHECK_DSO 120
|
|
||||||
|
|
||||||
/* Reason codes. */
|
/* Reason codes. */
|
||||||
#define FIPS_R_CANNOT_READ_EXE 103
|
#define FIPS_R_CANNOT_READ_EXE 103
|
||||||
#define FIPS_R_CANNOT_READ_EXE_DIGEST 104
|
#define FIPS_R_CANNOT_READ_EXE_DIGEST 104
|
||||||
|
#define FIPS_R_CONTRADICTING_EVIDENCE 114
|
||||||
#define FIPS_R_EXE_DIGEST_DOES_NOT_MATCH 105
|
#define FIPS_R_EXE_DIGEST_DOES_NOT_MATCH 105
|
||||||
#define FIPS_R_FINGERPRINT_DOES_NOT_MATCH 110
|
#define FIPS_R_FINGERPRINT_DOES_NOT_MATCH 110
|
||||||
#define FIPS_R_FINGERPRINT_DOES_NOT_MATCH_NONPIC_RELOCATED 111
|
#define FIPS_R_FINGERPRINT_DOES_NOT_MATCH_NONPIC_RELOCATED 111
|
||||||
|
@ -123,7 +124,6 @@ void ERR_load_FIPS_strings(void);
|
||||||
#define FIPS_R_PAIRWISE_TEST_FAILED 107
|
#define FIPS_R_PAIRWISE_TEST_FAILED 107
|
||||||
#define FIPS_R_SELFTEST_FAILED 101
|
#define FIPS_R_SELFTEST_FAILED 101
|
||||||
#define FIPS_R_UNSUPPORTED_PLATFORM 113
|
#define FIPS_R_UNSUPPORTED_PLATFORM 113
|
||||||
#define FIPS_R_CONTRADICTING_EVIDENCE 114
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* fips/fips_err.h */
|
/* fips-1.0/fips_err.h */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -75,6 +75,7 @@ static ERR_STRING_DATA FIPS_str_functs[]=
|
||||||
{ERR_FUNC(FIPS_F_DSA_DO_VERIFY), "DSA_do_verify"},
|
{ERR_FUNC(FIPS_F_DSA_DO_VERIFY), "DSA_do_verify"},
|
||||||
{ERR_FUNC(FIPS_F_DSA_GENERATE_PARAMETERS), "DSA_generate_parameters"},
|
{ERR_FUNC(FIPS_F_DSA_GENERATE_PARAMETERS), "DSA_generate_parameters"},
|
||||||
{ERR_FUNC(FIPS_F_FIPS_CHECK_DSA), "FIPS_CHECK_DSA"},
|
{ERR_FUNC(FIPS_F_FIPS_CHECK_DSA), "FIPS_CHECK_DSA"},
|
||||||
|
{ERR_FUNC(FIPS_F_FIPS_CHECK_DSO), "FIPS_CHECK_DSO"},
|
||||||
{ERR_FUNC(FIPS_F_FIPS_CHECK_EXE), "FIPS_CHECK_EXE"},
|
{ERR_FUNC(FIPS_F_FIPS_CHECK_EXE), "FIPS_CHECK_EXE"},
|
||||||
{ERR_FUNC(FIPS_F_FIPS_CHECK_FINGERPRINT), "FIPS_CHECK_FINGERPRINT"},
|
{ERR_FUNC(FIPS_F_FIPS_CHECK_FINGERPRINT), "FIPS_CHECK_FINGERPRINT"},
|
||||||
{ERR_FUNC(FIPS_F_FIPS_CHECK_RSA), "FIPS_CHECK_RSA"},
|
{ERR_FUNC(FIPS_F_FIPS_CHECK_RSA), "FIPS_CHECK_RSA"},
|
||||||
|
@ -91,7 +92,6 @@ static ERR_STRING_DATA FIPS_str_functs[]=
|
||||||
{ERR_FUNC(FIPS_F_RSA_GENERATE_KEY), "RSA_generate_key"},
|
{ERR_FUNC(FIPS_F_RSA_GENERATE_KEY), "RSA_generate_key"},
|
||||||
{ERR_FUNC(FIPS_F_RSA_X931_GENERATE_KEY), "RSA_X931_generate_key"},
|
{ERR_FUNC(FIPS_F_RSA_X931_GENERATE_KEY), "RSA_X931_generate_key"},
|
||||||
{ERR_FUNC(FIPS_F_SSLEAY_RAND_BYTES), "SSLEAY_RAND_BYTES"},
|
{ERR_FUNC(FIPS_F_SSLEAY_RAND_BYTES), "SSLEAY_RAND_BYTES"},
|
||||||
{ERR_FUNC(FIPS_F_FIPS_CHECK_DSO), "FIPS_check_dso"},
|
|
||||||
{0,NULL}
|
{0,NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -99,6 +99,7 @@ static ERR_STRING_DATA FIPS_str_reasons[]=
|
||||||
{
|
{
|
||||||
{ERR_REASON(FIPS_R_CANNOT_READ_EXE) ,"cannot access executable object"},
|
{ERR_REASON(FIPS_R_CANNOT_READ_EXE) ,"cannot access executable object"},
|
||||||
{ERR_REASON(FIPS_R_CANNOT_READ_EXE_DIGEST),"cannot access detached digest"},
|
{ERR_REASON(FIPS_R_CANNOT_READ_EXE_DIGEST),"cannot access detached digest"},
|
||||||
|
{ERR_REASON(FIPS_R_CONTRADICTING_EVIDENCE),"duplicate code detected, check your linking procedure"},
|
||||||
{ERR_REASON(FIPS_R_EXE_DIGEST_DOES_NOT_MATCH),"detached digest verification failed"},
|
{ERR_REASON(FIPS_R_EXE_DIGEST_DOES_NOT_MATCH),"detached digest verification failed"},
|
||||||
{ERR_REASON(FIPS_R_FINGERPRINT_DOES_NOT_MATCH),"fingerprint does not match"},
|
{ERR_REASON(FIPS_R_FINGERPRINT_DOES_NOT_MATCH),"fingerprint does not match"},
|
||||||
{ERR_REASON(FIPS_R_FINGERPRINT_DOES_NOT_MATCH_NONPIC_RELOCATED),"fingerprint does not match, possibly because non-PIC was relocated"},
|
{ERR_REASON(FIPS_R_FINGERPRINT_DOES_NOT_MATCH_NONPIC_RELOCATED),"fingerprint does not match, possibly because non-PIC was relocated"},
|
||||||
|
@ -111,7 +112,6 @@ static ERR_STRING_DATA FIPS_str_reasons[]=
|
||||||
{ERR_REASON(FIPS_R_PAIRWISE_TEST_FAILED) ,"pairwise test failed"},
|
{ERR_REASON(FIPS_R_PAIRWISE_TEST_FAILED) ,"pairwise test failed"},
|
||||||
{ERR_REASON(FIPS_R_SELFTEST_FAILED) ,"selftest failed"},
|
{ERR_REASON(FIPS_R_SELFTEST_FAILED) ,"selftest failed"},
|
||||||
{ERR_REASON(FIPS_R_UNSUPPORTED_PLATFORM) ,"unsupported platform"},
|
{ERR_REASON(FIPS_R_UNSUPPORTED_PLATFORM) ,"unsupported platform"},
|
||||||
{ERR_REASON(FIPS_R_CONTRADICTING_EVIDENCE),"duplicate code detected, check your linking procedure"},
|
|
||||||
{0,NULL}
|
{0,NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -119,15 +119,12 @@ static ERR_STRING_DATA FIPS_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_FIPS_strings(void)
|
void ERR_load_FIPS_strings(void)
|
||||||
{
|
{
|
||||||
static int init;
|
|
||||||
|
|
||||||
if (!init)
|
|
||||||
{
|
|
||||||
init=1;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(FIPS_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,FIPS_str_functs);
|
ERR_load_strings(0,FIPS_str_functs);
|
||||||
ERR_load_strings(0,FIPS_str_reasons);
|
ERR_load_strings(0,FIPS_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ssl/ssl_err.c */
|
/* ssl/ssl_err.c */
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved.
|
* Copyright (c) 1999-2006 The OpenSSL Project. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
|
@ -448,15 +448,12 @@ static ERR_STRING_DATA SSL_str_reasons[]=
|
||||||
|
|
||||||
void ERR_load_SSL_strings(void)
|
void ERR_load_SSL_strings(void)
|
||||||
{
|
{
|
||||||
static int init=1;
|
|
||||||
|
|
||||||
if (init)
|
|
||||||
{
|
|
||||||
init=0;
|
|
||||||
#ifndef OPENSSL_NO_ERR
|
#ifndef OPENSSL_NO_ERR
|
||||||
|
|
||||||
|
if (ERR_func_error_string(SSL_str_functs[0].error) == NULL)
|
||||||
|
{
|
||||||
ERR_load_strings(0,SSL_str_functs);
|
ERR_load_strings(0,SSL_str_functs);
|
||||||
ERR_load_strings(0,SSL_str_reasons);
|
ERR_load_strings(0,SSL_str_reasons);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue