From 828d04afe40caaa19cff23b0ba04008a4313e30e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 23 Mar 2016 19:30:31 +0100 Subject: [PATCH] VMS: update the properties of symbol search In this OpenSSL version, we deliver engines with lower case symbol names. The DSO symbol finder must be updated to allow for mixed case symbols or it won't fine them. Reviewed-by: Rich Salz --- crypto/dso/dso_vms.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/dso/dso_vms.c b/crypto/dso/dso_vms.c index 5b8dc9198d..654e766764 100644 --- a/crypto/dso/dso_vms.c +++ b/crypto/dso/dso_vms.c @@ -64,6 +64,7 @@ # include # include # include +# include # include # include # include @@ -313,11 +314,10 @@ void vms_bind_sym(DSO *dso, const char *symname, void **sym) { DSO_VMS_INTERNAL *ptr; int status; -# if 0 - int flags = (1 << 4); /* LIB$M_FIS_MIXEDCASE, but this symbol isn't - * defined in VMS older than 7.0 or so */ +# ifdef LIB$M_FIS_MIXEDCASE + int flags = LIB$M_FIS_MIXEDCASE; # else - int flags = 0; + int flags = (1 << 4); # endif struct dsc$descriptor_s symname_dsc; -- 2.25.1