~ubuntu-branches/ubuntu/gutsy/openssl/gutsy-security

« back to all changes in this revision

Viewing changes to crypto/x509/x509_err.c

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2007-03-10 17:11:46 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070310171146-ekahy2avht7qdc4f
Tags: 0.9.8e-4
openssl should depend on libssl0.9.8 0.9.8e-1 since it 
uses some of the defines that changed to functions.
Other things build against libssl or libcrypto shouldn't 
have this problem since they use the old headers.
(Closes: #414283)

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
 
151
151
void ERR_load_X509_strings(void)
152
152
        {
153
 
        static int init=1;
 
153
#ifndef OPENSSL_NO_ERR
154
154
 
155
 
        if (init)
 
155
        if (ERR_func_error_string(X509_str_functs[0].error) == NULL)
156
156
                {
157
 
                init=0;
158
 
#ifndef OPENSSL_NO_ERR
159
157
                ERR_load_strings(0,X509_str_functs);
160
158
                ERR_load_strings(0,X509_str_reasons);
161
 
#endif
162
 
 
163
159
                }
 
160
#endif
164
161
        }