Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1602386 - clang-format r=bustage
  • Loading branch information
jcjones committed Jan 27, 2020
1 parent e619cde commit 6388a11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/freebl/blinit.c
Expand Up @@ -451,12 +451,12 @@ CheckPPCSupport()
#if defined(__linux__)
hwcaps = getauxval(AT_HWCAP2);
#elif defined(__FreeBSD__)
# if __FreeBSD__ >= 12
#if __FreeBSD__ >= 12
elf_aux_info(AT_HWCAP2, &hwcaps, sizeof(hwcaps));
# else
#else
size_t len = sizeof(hwcaps);
sysctlbyname("hw.cpu_features2", &hwcaps, &len, NULL, 0);
# endif
#endif
#endif

ppc_crypto_support_ = hwcaps & PPC_FEATURE2_VEC_CRYPTO && disable_hw_crypto == NULL;
Expand Down

0 comments on commit 6388a11

Please sign in to comment.