diff options
Diffstat (limited to 'src/usr.bin/openssl/pkey.c')
| -rw-r--r-- | src/usr.bin/openssl/pkey.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/pkey.c b/src/usr.bin/openssl/pkey.c index aab0b87032..a5ed21fc3b 100644 --- a/src/usr.bin/openssl/pkey.c +++ b/src/usr.bin/openssl/pkey.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pkey.c,v 1.11 2019/02/05 11:26:21 inoguchi Exp $ */ | 1 | /* $OpenBSD: pkey.c,v 1.12 2019/02/05 12:45:47 inoguchi Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006 | 3 | * project 2006 |
| 4 | */ | 4 | */ |
| @@ -56,6 +56,7 @@ | |||
| 56 | * | 56 | * |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <ctype.h> | ||
| 59 | #include <stdio.h> | 60 | #include <stdio.h> |
| 60 | #include <string.h> | 61 | #include <string.h> |
| 61 | 62 | ||
| @@ -185,6 +186,9 @@ show_ciphers(const OBJ_NAME *name, void *arg) | |||
| 185 | { | 186 | { |
| 186 | static int n; | 187 | static int n; |
| 187 | 188 | ||
| 189 | if (!islower((unsigned char)*name->name)) | ||
| 190 | return; | ||
| 191 | |||
| 188 | fprintf(stderr, " -%-24s%s", name->name, (++n % 3 ? "" : "\n")); | 192 | fprintf(stderr, " -%-24s%s", name->name, (++n % 3 ? "" : "\n")); |
| 189 | } | 193 | } |
| 190 | 194 | ||
