projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added OPENSSL_assert check as per PR#3377 reported by Rainer Jung <rainer.jung@kippda...
[oweals/openssl.git]
/
util
/
incore
diff --git
a/util/incore
b/util/incore
index 883f63ff563bec5e55859ca6787070fc822291c6..e6e6ecfd8928158a3a7ffda3daae51c5f104795a 100755
(executable)
--- a/
util/incore
+++ b/
util/incore
@@
-34,6
+34,7
@@
@e_ident{magic,class,data,version,osabi,abiver,pad}=
unpack("a4C*",$elf);
@e_ident{magic,class,data,version,osabi,abiver,pad}=
unpack("a4C*",$elf);
+ $!=42; # signal fipsld to revert to two-step link
die "not ELF file" if ($e_ident{magic} ne chr(0177)."ELF");
my $elf_bits = $e_ident{class}*32; # 32 or 64
die "not ELF file" if ($e_ident{magic} ne chr(0177)."ELF");
my $elf_bits = $e_ident{class}*32; # 32 or 64
@@
-377,7
+378,7
@@
$FIPS_text_endX = $exe->Lookup("FIPS_text_endX");
if (!$legacy_mode) {
if (!$FIPS_text_startX || !$FIPS_text_endX) {
print STDERR "@ARGV[$#ARGV] is not cross-compiler aware.\n";
if (!$legacy_mode) {
if (!$FIPS_text_startX || !$FIPS_text_endX) {
print STDERR "@ARGV[$#ARGV] is not cross-compiler aware.\n";
- exit(
1);
+ exit(
42); # signal fipsld to revert to two-step link
}
$FINGERPRINT_ascii_value
}
$FINGERPRINT_ascii_value