diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/wycheproof/wycheproof.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/wycheproof/wycheproof.go b/src/regress/lib/libcrypto/wycheproof/wycheproof.go index 318abf9806..16b38331ac 100644 --- a/src/regress/lib/libcrypto/wycheproof/wycheproof.go +++ b/src/regress/lib/libcrypto/wycheproof/wycheproof.go | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: wycheproof.go,v 1.83 2018/10/18 21:34:06 tb Exp $ */ | 1 | /* $OpenBSD: wycheproof.go,v 1.84 2018/10/19 04:32:33 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018 Joel Sing <jsing@openbsd.org> |
| 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 4 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
| @@ -360,7 +360,12 @@ func printAcceptableStatistics() { | |||
| 360 | } | 360 | } |
| 361 | sort.Strings(comments) | 361 | sort.Strings(comments) |
| 362 | for _, comment := range comments { | 362 | for _, comment := range comments { |
| 363 | fmt.Printf("%-45v %5d\n", comment, acceptableComments[comment]) | 363 | prcomment := comment |
| 364 | if len(comment) > 42 { | ||
| 365 | prcomment = comment[0:42] | ||
| 366 | prcomment += "..." | ||
| 367 | } | ||
| 368 | fmt.Printf("%-45v %5d\n", prcomment, acceptableComments[comment]) | ||
| 364 | } | 369 | } |
| 365 | 370 | ||
| 366 | fmt.Printf("\nFlag statistics:\n") | 371 | fmt.Printf("\nFlag statistics:\n") |
