summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorjsing <>2024-08-31 12:43:58 +0000
committerjsing <>2024-08-31 12:43:58 +0000
commitc74050854a91b50d2192e2e05fedaf0366d8ab81 (patch)
treece0f04393328694fbea716953d4d7ed39d8db04c /src/lib/libssl/ssl_ciph.c
parent268ba172904484b5e9e0b10b5fb85dcb872f72b4 (diff)
downloadopenbsd-c74050854a91b50d2192e2e05fedaf0366d8ab81.tar.gz
openbsd-c74050854a91b50d2192e2e05fedaf0366d8ab81.tar.bz2
openbsd-c74050854a91b50d2192e2e05fedaf0366d8ab81.zip
Make OPENSSL_cpu_caps() machine independent.
OPENSSL_cpu_caps() is currently machine dependent and exposes CPUID data on amd64 and i386. However, what it is really used for is to indicate whether specific algorithms are accelerated on the given hardware. Change OPENSSL_cpu_caps() so that it returns a machine indepent value, which decouples it from amd64/i386 and will allow it to be used appropriately on other platforms in the future. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_ciph.c')
0 files changed, 0 insertions, 0 deletions