diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-11-21 20:14:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-11-21 20:14:46 +0000 |
commit | 115fc340cb509f2c8def38561088b1c430591d3c (patch) | |
tree | 7e4ec2eec25b118f933248777ad4f99ec6638585 /ssl | |
parent | 900f7a87760d1053127976480efcd71371787d6e (diff) |
Rebuild error file C source files.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/ssl_err.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index 4a4ba68526..e7f4d93c7d 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -204,7 +204,7 @@ static ERR_STRING_DATA SSL_str_functs[]= {ERR_FUNC(SSL_F_SSL_GET_SERVER_SEND_CERT), "SSL_GET_SERVER_SEND_CERT"}, {ERR_FUNC(SSL_F_SSL_GET_SIGN_PKEY), "SSL_GET_SIGN_PKEY"}, {ERR_FUNC(SSL_F_SSL_INIT_WBIO_BUFFER), "SSL_INIT_WBIO_BUFFER"}, -{ERR_FUNC(SSL_F_SSL_LOAD_CLIENT_CA_FILE), "SSL_LOAD_CLIENT_CA_FILE"}, +{ERR_FUNC(SSL_F_SSL_LOAD_CLIENT_CA_FILE), "SSL_load_client_CA_file"}, {ERR_FUNC(SSL_F_SSL_NEW), "SSL_new"}, {ERR_FUNC(SSL_F_SSL_PEEK), "SSL_peek"}, {ERR_FUNC(SSL_F_SSL_READ), "SSL_read"}, @@ -486,15 +486,12 @@ static ERR_STRING_DATA SSL_str_reasons[]= void ERR_load_SSL_strings(void) { - static int init=1; +#ifndef OPENSSL_NO_ERR - if (init) + if (ERR_func_error_string(SSL_str_functs[0].error) == NULL) { - init=0; -#ifndef OPENSSL_NO_ERR ERR_load_strings(0,SSL_str_functs); ERR_load_strings(0,SSL_str_reasons); -#endif - } +#endif } |