# HG changeset patch # User andy simpson # Date 1276694962 -3600 # Node ID b0cf6e9637d2d8ccbaa5bef0cd36e9cd6fb094f2 # Parent 6a60b9d459b4fcc28e0c0c7c919ea1bc96d46ffd GCCE fixes (Bug 2971) : Remove IMPORT_C statements in ext_dat.h as these are not necessary within same module and cause "not constant" error with GCCE diff -r 6a60b9d459b4 -r b0cf6e9637d2 ssl/libcrypto/src/crypto/x509v3/ext_dat.h --- a/ssl/libcrypto/src/crypto/x509v3/ext_dat.h Wed Jun 16 08:14:03 2010 +0100 +++ b/ssl/libcrypto/src/crypto/x509v3/ext_dat.h Wed Jun 16 14:29:22 2010 +0100 @@ -66,14 +66,9 @@ #include "libcrypto_wsd.h" #endif -/* Extra declerations are added only to satisfy the RVCT2.2. - RVCT4.0 is perfectly fine with out the extra declerations - (the first 2 lines below)*/ +/* No need to add IMPORT_C as these functions are in the same executable */ extern X509V3_EXT_METHOD v3_ext_ku; extern X509V3_EXT_METHOD v3_ocsp_accresp; -IMPORT_C extern X509V3_EXT_METHOD v3_ext_ku; -IMPORT_C extern X509V3_EXT_METHOD v3_ocsp_accresp; - extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage; extern X509V3_EXT_METHOD v3_pkey_usage_period, v3_sxnet, v3_info, v3_sinfo; extern X509V3_EXT_METHOD v3_ns_ia5_list[], v3_alt[], v3_skey_id, v3_akey_id;