Hello,

I am compiling openssl-0.9.7g on AIX 5.2.0 using the Visual Age
compiler.  I am compiling with fips, threads, zlib, and shared.  While
compiling sstltest.c, I get the following error:
--
"ssltest.c", line 1979.12: 1506-045 (S) Undeclared identifier s.
--

Going to that portion of the code you'll see:
--
#ifndef OPENSSL_NO_X509_VERIFY
# ifdef OPENSSL_FIPS
        if(s->version == TLS1_VERSION)
                FIPS_allow_md5(1);
# endif
        ok = X509_verify_cert(ctx);
# ifdef OPENSSL_FIPS
        if(s->version == TLS1_VERSION)
                FIPS_allow_md5(0);
# endif
#endif
--

This is in the function app_verify_callback().  I don't see anywhere
where s (as in s->version) is defined.  It does not seem to be a global
variable (neither
extern nor global to the translation unit), and it definitely is not a
local variable within the function nor is it passed via the argument
list.

It appears to be a bug, but I didn't look at it with any intensity.
Right now I am basically looking for a quick fix (except maybe not
compiling in FIPS support).  Any help would be appreciated.

Sincerely,
Maverick Merritt



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to