diff options
author | gkoehler <> | 2023-02-01 19:02:50 +0000 |
---|---|---|
committer | gkoehler <> | 2023-02-01 19:02:50 +0000 |
commit | 86f42338b2994b620482c37e3d0d9fc3ba1f523b (patch) | |
tree | cbd3002bb98a61c672c0a81d5a700eb0c3031d43 /src/regress/lib/libssl/ssl/ssltest.c | |
parent | 673d50eba3176c2ef4c67914008e191ed568f373 (diff) | |
download | openbsd-86f42338b2994b620482c37e3d0d9fc3ba1f523b.tar.gz openbsd-86f42338b2994b620482c37e3d0d9fc3ba1f523b.tar.bz2 openbsd-86f42338b2994b620482c37e3d0d9fc3ba1f523b.zip |
For xonly, move sha512-ppc.pl's table from text to rodata
OpenBSD/macppc will enforce xonly on PowerPC G5, then libcrypto's
sha256 would crash by SIGSEGV, because it can't read text.
Use ELF relocations "@ha" and "@l" to find the table in rodata. This
might break the PowerPC asm on a not-ELF platform (like AIX or Mac OS)
if someone would try it there.
ok kettenis@ deraadt@
Diffstat (limited to 'src/regress/lib/libssl/ssl/ssltest.c')
0 files changed, 0 insertions, 0 deletions