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 <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2016-03-23 19:30:31 +01:00
parent b54e35f6cd
commit 828d04afe4

View File

@ -64,6 +64,7 @@
# include <errno.h> # include <errno.h>
# include <rms.h> # include <rms.h>
# include <lib$routines.h> # include <lib$routines.h>
# include <libfisdef.h>
# include <stsdef.h> # include <stsdef.h>
# include <descrip.h> # include <descrip.h>
# include <starlet.h> # include <starlet.h>
@ -313,11 +314,10 @@ void vms_bind_sym(DSO *dso, const char *symname, void **sym)
{ {
DSO_VMS_INTERNAL *ptr; DSO_VMS_INTERNAL *ptr;
int status; int status;
# if 0 # ifdef LIB$M_FIS_MIXEDCASE
int flags = (1 << 4); /* LIB$M_FIS_MIXEDCASE, but this symbol isn't int flags = LIB$M_FIS_MIXEDCASE;
* defined in VMS older than 7.0 or so */
# else # else
int flags = 0; int flags = (1 << 4);
# endif # endif
struct dsc$descriptor_s symname_dsc; struct dsc$descriptor_s symname_dsc;