]> granicus.if.org Git - curl/commitdiff
openvms: fix OpenSSL discovery on VAX
authorDaniel Gustafsson <daniel@yesql.se>
Tue, 25 Dec 2018 21:27:29 +0000 (22:27 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Tue, 25 Dec 2018 21:27:29 +0000 (22:27 +0100)
The DCL code had a typo in one of the commands which would make the
OpenSSL discovery on VAX fail. The correct syntax is F$ENVIRONMENT.

Closes #3407
Reviewed-by: Viktor Szakats <commit@vszakats.net>
packages/vms/generate_config_vms_h_curl.com

index 6e1b2024f1938552a955d261102ff4d9b4a819d5..ef9efc2ecf6e7f2d2d71ebd7a48ab556e2c0579f 100644 (file)
@@ -406,7 +406,7 @@ $   write cvh "#define USE_OPENSSL 1"
 $   write cvh "#endif"
 $   if arch_name .eqs. "VAX"
 $   then
-$       old_mes = f$enviroment("message")
+$       old_mes = f$environment("message")
 $       set message/notext/nofaci/noseve/noident
 $       search/output=nla0: ssl$include:*.h CONF_MFLAGS_IGNORE_MISSING_FILE
 $       status = $severity