diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/a_strex.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_strex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c index 885b61efaf..e2e21a2292 100644 --- a/src/lib/libcrypto/asn1/a_strex.c +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_strex.c,v 1.22 2014/06/12 15:49:27 deraadt Exp $ */ | 1 | /* $OpenBSD: a_strex.c,v 1.23 2014/07/10 20:42:45 jsing 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 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -131,7 +131,7 @@ do_esc_char(unsigned long c, unsigned char flags, char *do_quotes, | |||
131 | char_io *io_ch, void *arg) | 131 | char_io *io_ch, void *arg) |
132 | { | 132 | { |
133 | unsigned char chflgs, chtmp; | 133 | unsigned char chflgs, chtmp; |
134 | char tmphex[HEX_SIZE(long) + 3]; | 134 | char tmphex[sizeof(long) * 2 + 3]; |
135 | 135 | ||
136 | if (c > 0xffffffffL) | 136 | if (c > 0xffffffffL) |
137 | return -1; | 137 | return -1; |