VMS: build ia64 assembler files if 'ias' is available
authorRichard Levitte <levitte@openssl.org>
Tue, 13 Feb 2018 19:51:07 +0000 (20:51 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 14 Feb 2018 16:13:53 +0000 (17:13 +0100)
Avoid using crypto/modes/ghash-ia64.s, as it uses features that are
explicitely prohibited on VMS.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5357)

Configurations/10-main.conf

index c9e4fd2e0f72ac531a33aad5fd0060f1c622eeee..95097ca94b9e21ad1cb1a9f81ff76f6c1a88fd80 100644 (file)
@@ -1925,9 +1925,13 @@ my %targets = (
         pointer_size     => "64",
     },
     "vms-ia64" => {
-        inherit_from     => [ "vms-generic" ],
+        inherit_from     => [ "vms-generic",
+                              sub { vms_info()->{as}
+                                        ? asm("ia64_asm")->() : () } ],
         bn_ops           => "SIXTY_FOUR_BIT RC4_INT",
         pointer_size     => "",
+
+        modes_asm_src    => "", # Because ghash-ia64.s doesn't work on VMS
     },
     "vms-ia64-p32" => {
         inherit_from     => [ "vms-ia64" ],