diff options
author | bcook <> | 2015-03-02 07:51:25 +0000 |
---|---|---|
committer | bcook <> | 2015-03-02 07:51:25 +0000 |
commit | 900fc621282df881ec900874af414634b959dc8c (patch) | |
tree | 71be3d187e0bfb8071fa29e48b8f0bed1dfd163d /src/usr.bin/openssl/ciphers.c | |
parent | cafe60331e5f7ae781b7430e541b8cfed4ad629f (diff) | |
download | openbsd-900fc621282df881ec900874af414634b959dc8c.tar.gz openbsd-900fc621282df881ec900874af414634b959dc8c.tar.bz2 openbsd-900fc621282df881ec900874af414634b959dc8c.zip |
use correct formatter (int, because of type promotion after operations)
ok jsing@
Diffstat (limited to 'src/usr.bin/openssl/ciphers.c')
-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); |