diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-04-17 13:29:58 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-04-17 13:29:58 +0000 |
commit | eea79ffdb77e3dd4cdbd3f98ed1b44d9522496fa (patch) | |
tree | 582e270a44fc61f2faa5741903c997830c0ec48f /lib/libcrypto/sparcv9cap.c | |
parent | 21401a36c10c0b5d0da3d1bb310bcacad2ea85b6 (diff) |
Revert unintended whitespace changes.
Diffstat (limited to 'lib/libcrypto/sparcv9cap.c')
-rw-r--r-- | lib/libcrypto/sparcv9cap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/sparcv9cap.c b/lib/libcrypto/sparcv9cap.c index 08f7de3ec8a..05c084807a5 100644 --- a/lib/libcrypto/sparcv9cap.c +++ b/lib/libcrypto/sparcv9cap.c @@ -70,7 +70,7 @@ walk_nodename(di_node_t node, di_node_name_t di_node_name) char *name = (*di_node_name)(node); /* This is expected to catch all UltraSPARC flavors prior T1 */ - if (!strcmp (name, "SUNW, UltraSPARC") || + if (!strcmp (name, "SUNW,UltraSPARC") || !strncmp(name,"SUNW,UltraSPARC-I",17)) /* covers II,III,IV */ { OPENSSL_sparcv9cap_P |= SPARCV9_PREFER_FPU|SPARCV9_VIS1; @@ -82,7 +82,7 @@ walk_nodename(di_node_t node, di_node_name_t di_node_name) return DI_WALK_TERMINATE; } /* This is expected to catch remaining UltraSPARCs, such as T1 */ - else if (!strncmp(name, "SUNW, UltraSPARC", 15)) { + else if (!strncmp(name, "SUNW,UltraSPARC", 15)) { OPENSSL_sparcv9cap_P &= ~SPARCV9_TICK_PRIVILEGED; return DI_WALK_TERMINATE; |