diff options
author | Rich Salz <rsalz@openssl.org> | 2016-03-22 13:35:03 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-03-22 13:35:03 -0400 |
commit | 38186bfd4e5be7f212d8e460420e081e0ad852e7 (patch) | |
tree | 136ce20d32a4ee06cb692bada686d8cad80f41dd /crypto/dso/dso_vms.c | |
parent | 73decf5975ff1249c51baa0cb3956bb67fbd64dc (diff) |
Have only one DSO_METHOD_openssl
Instead of have every DSO_METHOD_xxx in all platforms, ensure that only
one DSO_METHOD_openssl is available on all platforms.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/dso/dso_vms.c')
-rw-r--r-- | crypto/dso/dso_vms.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/crypto/dso/dso_vms.c b/crypto/dso/dso_vms.c index 2fd6ffea2d..79e9963a26 100644 --- a/crypto/dso/dso_vms.c +++ b/crypto/dso/dso_vms.c @@ -58,12 +58,7 @@ #include "dso_locl.h" -#ifndef OPENSSL_SYS_VMS -DSO_METHOD *DSO_METHOD_vms(void) -{ - return NULL; -} -#else +#ifdef OPENSSL_SYS_VMS # pragma message disable DOLLARID # include <errno.h> @@ -129,9 +124,9 @@ typedef struct dso_internal_st { char imagename[NAMX_MAXRSS + 1]; } DSO_VMS_INTERNAL; -DSO_METHOD *DSO_METHOD_vms(void) +DSO_METHOD *DSO_METHOD_openssl(void) { - return (&dso_meth_vms); + return &dso_meth_vms; } static int vms_load(DSO *dso) |