Rename libcrypto.sha1 to libcrypto.a.sha1
This commit is contained in:
@@ -205,7 +205,7 @@ ONEDIRS=out tmp
|
|||||||
EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
|
EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep VMS
|
||||||
WDIRS= windows
|
WDIRS= windows
|
||||||
LIBS= libcrypto.a libssl.a
|
LIBS= libcrypto.a libssl.a
|
||||||
SIGS= libcrypto.sha1
|
SIGS= libcrypto.a.sha1
|
||||||
SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
|
SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
|
||||||
SHARED_SSL=libssl$(SHLIB_EXT)
|
SHARED_SSL=libssl$(SHLIB_EXT)
|
||||||
SHARED_LIBS=
|
SHARED_LIBS=
|
||||||
@@ -226,10 +226,10 @@ HEADER= e_os.h
|
|||||||
all: Makefile sub_all openssl.pc
|
all: Makefile sub_all openssl.pc
|
||||||
|
|
||||||
sigs: $(SIGS)
|
sigs: $(SIGS)
|
||||||
libcrypto.sha1: libcrypto.a
|
libcrypto.a.sha1: libcrypto.a
|
||||||
if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
|
if egrep 'define OPENSSL_FIPS' $(TOP)/include/openssl/opensslconf.h > /dev/null; then \
|
||||||
$(RANLIB) libcrypto.a; \
|
$(RANLIB) libcrypto.a; \
|
||||||
fips/sha1/fips_standalone_sha1 libcrypto.a > libcrypto.sha1; \
|
fips/sha1/fips_standalone_sha1 libcrypto.a > libcrypto.a.sha1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sub_all:
|
sub_all:
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ shift
|
|||||||
|
|
||||||
egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0
|
egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0
|
||||||
|
|
||||||
$TOP/fips/sha1/fips_standalone_sha1 $@ | diff $FP - || { echo; echo "*** Your source code does not match the FIPS certified source ***"; echo; exit 1; }
|
$TOP/fips/sha1/fips_standalone_sha1 $@ | diff $FP - || { echo; echo "*** Your source code does not match the FIPS validated source ***"; echo; exit 1; }
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Checking library fingerprint for $lib"
|
echo "Checking library fingerprint for $lib"
|
||||||
openssl sha1 -hmac etaonrishdlcupfm $lib | sed "s/(.*\//(/" | diff ${lib%.a}.sha1 - || { echo "$libs fingerprint mismatch"; exit 1; }
|
openssl sha1 -hmac etaonrishdlcupfm $lib | sed "s/(.*\//(/" | diff $lib.sha1 - || { echo "$libs fingerprint mismatch"; exit 1; }
|
||||||
|
|
||||||
echo "Making fingerprint for $exe"
|
echo "Making fingerprint for $exe"
|
||||||
openssl sha1 -hmac etaonrishdlcupfm -binary $exe > $exe.sha1
|
openssl sha1 -hmac etaonrishdlcupfm -binary $exe > $exe.sha1
|
||||||
|
|||||||
Reference in New Issue
Block a user