Small fixups in DSO
authorRichard Levitte <levitte@openssl.org>
Wed, 23 Mar 2016 07:40:56 +0000 (08:40 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 23 Mar 2016 07:40:56 +0000 (08:40 +0100)
- VMS configs had no dso_scheme
- Incorrect return of NULL method.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Configurations/10-main.conf
crypto/dso/dso_openssl.c

index fb31614..0ce9231 100644 (file)
@@ -1703,6 +1703,7 @@ sub vc_wince_info {
                                    debug   => "/DEBUG/TRACEBACK",
                                    release => "/NODEBUG/NOTRACEBACK"),
         shared_target    => "vms-shared",
+        dso_scheme       => "vms",
         thread_scheme    => "pthreads",
 
         apps_aux_src     => "vms_decc_init.c",
index 070f116..62191d7 100644 (file)
@@ -66,6 +66,6 @@ static DSO_METHOD dso_meth_null = {
 
 DSO_METHOD *DSO_METHOD_openssl(void)
 {
-    return dso_meth_null();
+    return &dso_meth_null;
 }
 #endif