diff options
author | miod <> | 2014-05-02 19:59:16 +0000 |
---|---|---|
committer | miod <> | 2014-05-02 19:59:16 +0000 |
commit | b0c6c09c9b9b8a8b204f2859e27e216be7b63ada (patch) | |
tree | b001363f34bc734a46d4080316ad1c0574f515a3 /src/lib/libssl/ssl_ciph.c | |
parent | 9a4721cf284d54d80f925c13df3a8bf7a1f51882 (diff) | |
download | openbsd-b0c6c09c9b9b8a8b204f2859e27e216be7b63ada.tar.gz openbsd-b0c6c09c9b9b8a8b204f2859e27e216be7b63ada.tar.bz2 openbsd-b0c6c09c9b9b8a8b204f2859e27e216be7b63ada.zip |
The assembly sha512 code detects at runtime if it is running on a 64-bit
processor (PA2.0) and, if so, switches to 64-bit code.
However, when running under a 32-bit OpenBSD/hppa kernel, there is no guarantee
that the upper part of the registers will be preserved accross context switches
(or even userland->kernel boundaries), which causes this code to fail.
Wrap the generated code within #ifndef __OpenBSD__ in that case, to avoid
using the 64-bit code completely. (OpenBSD/hppa64, once stable, will not be
affected by this)
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
0 files changed, 0 insertions, 0 deletions