* apps/makeapps.com: Add srp.
[openssl.git] / apps / makeapps.com
index 4b33f68af0f98791dd3005d9ed5be91e9d83fe67..8924f50f6d7425258e7ec81e99271da5951f9f66 100644 (file)
@@ -180,7 +180,7 @@ $ LIB_OPENSSL = "VERIFY,ASN1PARS,REQ,DGST,DH,DHPARAM,ENC,PASSWD,GENDH,ERRSTR,"+-
                "X509,GENRSA,GENDSA,GENPKEY,S_SERVER,S_CLIENT,SPEED,"+-
                "S_TIME,APPS,S_CB,S_SOCKET,APP_RAND,VERSION,SESS_ID,"+-
                "CIPHERS,NSEQ,PKCS12,PKCS8,PKEY,PKEYPARAM,PKEYUTL,"+ -
-               "SPKAC,SMIME,CMS,RAND,ENGINE,OCSP,PRIME,TS"
+               "SPKAC,SMIME,CMS,RAND,ENGINE,OCSP,PRIME,TS,SRP"
 $!
 $ LIB_OPENSSL = LIB_OPENSSL+ ",VMS_DECC_INIT"
 $!
@@ -599,7 +599,28 @@ $     POINTER_SIZE = "/POINTER_SIZE=32"
 $   ELSE
 $     IF (P6 .EQS. "64")
 $     THEN
-$       POINTER_SIZE = "/POINTER_SIZE=64=ARGV"
+$       POINTER_SIZE = "/POINTER_SIZE=64"
+$      SET NOON
+$      DEFINE /USER SYS$OUTPUT NL:
+$      DEFINE /USER SYS$ERROR NL:
+$      CC /POINTER_SIZE=64=ARGV NL:
+$      IF ($STATUS .AND. %X0FFF0000) .EQ. %X00030000
+$      THEN
+$        ! If we got here, it means DCL complained like this:
+$        ! %DCL-W-NOVALU, value not allowed - remove value specification
+$        !  \64=\
+$        !
+$        ! If the compiler was run, logicals defined in /USER would
+$        ! have been deassigned automatically.  However, when DCL
+$        ! complains, they aren't, so we do it here (it might be
+$        ! unnecessary, but just in case there will be another error
+$        ! message further on that we don't want to miss)
+$        DEASSIGN/USER SYS$ERROR
+$        DEASSIGN/USER SYS$OUTPUT
+$      ELSE
+$        POINTER_SIZE = POINTER_SIZE + "=ARGV"
+$      ENDIF
+$      SET ON
 $       ARCHD = ARCH+ "_64"
 $       LIB32 = ""
 $     ELSE