mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
Use copy.pl to install the fips module on Windows
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16208)
This commit is contained in:
parent
25ab542409
commit
a8f35a5527
@ -501,12 +501,10 @@ install_fips: build_sw $(INSTALL_FIPSMODULECONF)
|
||||
@$(PERL) $(SRCDIR)\util\mkdir-p.pl $(MODULESDIR)
|
||||
@$(ECHO) "*** Installing FIPS module"
|
||||
@$(ECHO) "install $(INSTALL_FIPSMODULE) -> $(MODULESDIR)\$(FIPSMODULENAME)"
|
||||
@copy "$(INSTALL_FIPSMODULE)" $(MODULESDIR)\$(FIPSMODULENAME).new
|
||||
@move /Y $(MODULESDIR)\$(FIPSMODULENAME).new \
|
||||
$(MODULESDIR)\$(FIPSMODULENAME)
|
||||
@"$(PERL)" "$(SRCDIR)\util\copy.pl" "$(INSTALL_FIPSMODULE)" "$(MODULESDIR)"
|
||||
@$(ECHO) "*** Installing FIPS module configuration"
|
||||
@$(ECHO) "install $(INSTALL_FIPSMODULECONF) -> $(OPENSSLDIR)\fipsmodule.cnf"
|
||||
@copy $(INSTALL_FIPSMODULECONF) "$(OPENSSLDIR)\fipsmodule.cnf"
|
||||
@"$(PERL)" "$(SRCDIR)\util\copy.pl" "$(INSTALL_FIPSMODULECONF)" "$(OPENSSLDIR)"
|
||||
|
||||
uninstall_fips:
|
||||
@$(ECHO) "*** Uninstalling FIPS module configuration"
|
||||
|
Loading…
x
Reference in New Issue
Block a user