On VAX, some of the new "extern" declarations in "crypto/o_init.c"
cause new problems:

[...]
Compiling The o_init.c File.  (LIBRARY,LIB)
        extern  void int_EVP_MD_init_engine_callbacks(void );
        .............^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated
 to "INT_EVP_MD_INIT_ENGINE_CALLBACK".
                At line number 63 in 
GIMP$DUA0:[UTILITY.SOURCE.OPENSSL.OPENSSL-0_9_8M.CRYPTO]O_INIT.C;1.

        extern  void int_EVP_CIPHER_init_engine_callbacks(void );
        .............^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated
 to "INT_EVP_CIPHER_INIT_ENGINE_CALL".
                At line number 64 in 
GIMP$DUA0:[UTILITY.SOURCE.OPENSSL.OPENSSL-0_9_8M.CRYPTO]O_INIT.C;1.
[...]


   These could be avoided by adding short-name macros in
"crypto/symhacks.h", but, because the consumers are already conditional
on:

#ifdef OPENSSL_FIPS
#ifndef OPENSSL_NO_ENGINE

it would seem to me to make more sense to do the same to these new
"extern" declarations.  For example:

--- crypto/o_init.c_orig        2010-01-27 07:21:34 -0600
+++ crypto/o_init.c     2010-02-27 09:19:22 -0600
@@ -58,11 +58,16 @@
 
 #include <e_os.h>
 #include <openssl/err.h>
+
 /* Internal only functions: only ever used here */
+#ifdef OPENSSL_FIPS
 extern void int_ERR_lib_init(void);
+# ifndef OPENSSL_NO_ENGINE
 extern void int_EVP_MD_init_engine_callbacks(void );
 extern void int_EVP_CIPHER_init_engine_callbacks(void );
 extern void int_RAND_init_engine_callbacks(void );
+# endif
+#endif
 
 /* Perform any essential OpenSSL initialization operations.
  * Currently only sets FIPS callbacks

Or, use an appropriate header file (with appropriate conditionality),
instead of these loose "extern" declarations.

------------------------------------------------------------------------

   Steven M. Schweda               s...@antinode-info
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to