The branch OpenSSL_1_0_2-stable has been updated
       via  d62c64b947ae96463a331de005165c57966d2149 (commit)
      from  6f997dc36504d67d1339ceb6bce4ecba673d8568 (commit)


- Log -----------------------------------------------------------------
commit d62c64b947ae96463a331de005165c57966d2149
Author: Dr. Stephen Henson <st...@openssl.org>
Date:   Mon Sep 28 14:14:10 2015 +0100

    Link in applink with fips_premain_dso
    
    PR#4042
    
    Reviewed-by: Tim Hudson <t...@openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 util/pl/VC-32.pl | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index da05e9d..284fe03 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -358,15 +358,17 @@ sub do_link_rule
        local($ret,$_);
        $file =~ s/\//$o/g if $o ne '/';
        $n=&bname($target);
-       $ret.="$target: $files $dep_libs\n";
+       $ret.="$target: $files $dep_libs";
        if ($standalone == 1)
                {
+               $ret.=" \$(OBJ_D)${o}applink.obj\n";
                $ret.="  \$(LINK) \$(LFLAGS) $efile$target @<<\n\t";
-               $ret.= "\$(EX_LIBS) " if ($files =~ /O_FIPSCANISTER/ && 
!$fipscanisterbuild);
+               $ret.= "\$(EX_LIBS) \$(OBJ_D)${o}applink.obj " if ($files =~ 
/O_FIPSCANISTER/ && !$fipscanisterbuild);
                $ret.="$files $libs\n<<\n";
                }
        elsif ($standalone == 2)
                {
+               $ret.="\n";
                $ret.="\tSET FIPS_LINK=\$(LINK)\n";
                $ret.="\tSET FIPS_CC=\$(CC)\n";
                $ret.="\tSET FIPS_CC_ARGS=/Fo\$(OBJ_D)${o}fips_premain.obj 
\$(SHLIB_CFLAGS) -c\n";
@@ -379,6 +381,7 @@ sub do_link_rule
                }
        else
                {
+               $ret.="\n";
                $ret.="\t\$(LINK) \$(LFLAGS) $efile$target @<<\n";
                $ret.="\t\$(APP_EX_OBJ) $files $libs\n<<\n";
                }
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to