diff options
| author | bcook <> | 2015-03-02 07:51:25 +0000 |
|---|---|---|
| committer | bcook <> | 2015-03-02 07:51:25 +0000 |
| commit | d8491142a00ece47c5cc94cd42e8ac2c83a9ef28 (patch) | |
| tree | 71be3d187e0bfb8071fa29e48b8f0bed1dfd163d /src | |
| parent | 30e0ac6ee5b9eef940ce3933389cb7cdf2596723 (diff) | |
| download | openbsd-d8491142a00ece47c5cc94cd42e8ac2c83a9ef28.tar.gz openbsd-d8491142a00ece47c5cc94cd42e8ac2c83a9ef28.tar.bz2 openbsd-d8491142a00ece47c5cc94cd42e8ac2c83a9ef28.zip | |
use correct formatter (int, because of type promotion after operations)
ok jsing@
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.bin/openssl/ciphers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ciphers.c b/src/usr.bin/openssl/ciphers.c index d0ea6311ac..c16a4a637b 100644 --- a/src/usr.bin/openssl/ciphers.c +++ b/src/usr.bin/openssl/ciphers.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ciphers.c,v 1.3 2015/02/09 05:22:56 jsing Exp $ */ | 1 | /* $OpenBSD: ciphers.c,v 1.4 2015/03/02 07:51:25 bcook Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -138,7 +138,7 @@ ciphers_main(int argc, char **argv) | |||
| 138 | } | 138 | } |
| 139 | if (ciphers_config.verbose > 1) { | 139 | if (ciphers_config.verbose > 1) { |
| 140 | value = SSL_CIPHER_get_value(cipher); | 140 | value = SSL_CIPHER_get_value(cipher); |
| 141 | fprintf(stdout, "%-*s0x%02hX,0x%02hX - ", 10, "", | 141 | fprintf(stdout, "%-*s0x%02X,0x%02X - ", 10, "", |
| 142 | ((value >> 8) & 0xff), (value & 0xff)); | 142 | ((value >> 8) & 0xff), (value & 0xff)); |
| 143 | } | 143 | } |
| 144 | desc = SSL_CIPHER_description(cipher, NULL, 0); | 144 | desc = SSL_CIPHER_description(cipher, NULL, 0); |
