diff options
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509.h | 5 | ||||
-rw-r--r-- | crypto/x509/x509_vfy.h | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 0402ae769c..79828daab4 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -63,6 +63,11 @@ extern "C" { #endif +#ifdef VMS +#undef X509_REVOKED_get_ext_by_critical +#define X509_REVOKED_get_ext_by_critical X509_REVOKED_get_ext_by_critic +#endif + #include <openssl/stack.h> #include <openssl/asn1.h> #include <openssl/safestack.h> diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h index faacb01fb8..7b447c99b7 100644 --- a/crypto/x509/x509_vfy.h +++ b/crypto/x509/x509_vfy.h @@ -259,6 +259,21 @@ struct x509_store_state_st /* X509_STORE_CTX */ /* The application is not happy */ #define X509_V_ERR_APPLICATION_VERIFICATION 50 + /* These functions are being redefined in another directory, + and clash when the linker is case-insensitive, so let's + hide them a little, by giving them an extra 'o' at the + beginning of the name... */ +#ifdef VMS +#undef X509v3_cleanup_extensions +#define X509v3_cleanup_extensions oX509v3_cleanup_extensions +#undef X509v3_add_extension +#define X509v3_add_extension oX509v3_add_extension +#undef X509v3_add_netscape_extensions +#define X509v3_add_netscape_extensions oX509v3_add_netscape_extensions +#undef X509v3_add_standard_extensions +#define X509v3_add_standard_extensions oX509v3_add_standard_extensions +#endif + #ifdef HEADER_LHASH_H X509_OBJECT *X509_OBJECT_retrieve_by_subject(LHASH *h,int type,X509_NAME *name); #endif |