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

« back to all changes in this revision

Viewing changes to crypto/ocsp/ocsp_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:
129
129
 
130
130
void ERR_load_OCSP_strings(void)
131
131
        {
132
 
        static int init=1;
 
132
#ifndef OPENSSL_NO_ERR
133
133
 
134
 
        if (init)
 
134
        if (ERR_func_error_string(OCSP_str_functs[0].error) == NULL)
135
135
                {
136
 
                init=0;
137
 
#ifndef OPENSSL_NO_ERR
138
136
                ERR_load_strings(0,OCSP_str_functs);
139
137
                ERR_load_strings(0,OCSP_str_reasons);
140
 
#endif
141
 
 
142
138
                }
 
139
#endif
143
140
        }