diff options
author | Simon Josefsson <simon@josefsson.org> | 2012-03-14 00:20:16 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2012-03-14 00:34:11 +0100 |
commit | 6e534bf4fb3144be51c928ed3efcf9c36055c9c7 (patch) | |
tree | 6b210e0bfffff8c7251208ca603d90c3902e6f3f /lib/coding.c | |
parent | 4b1805a021aa9abe74ba775aaaff84fc21ea07e9 (diff) | |
download | libtasn1-6e534bf4fb3144be51c928ed3efcf9c36055c9c7.tar.gz libtasn1-6e534bf4fb3144be51c928ed3efcf9c36055c9c7.tar.bz2 libtasn1-6e534bf4fb3144be51c928ed3efcf9c36055c9c7.zip |
Simplify overflow check.
Diffstat (limited to 'lib/coding.c')
-rw-r--r-- | lib/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coding.c b/lib/coding.c index ab430fc..8b72eba 100644 --- a/lib/coding.c +++ b/lib/coding.c @@ -68,7 +68,7 @@ _asn1_error_description_value_not_found (ASN1_TYPE node, * The @ans buffer is pre-allocated and must have room for the output. **/ void -asn1_length_der (unsigned long len, unsigned char *ans, int *ans_len) +asn1_length_der (unsigned long int len, unsigned char *ans, int *ans_len) { int k; unsigned char temp[SIZEOF_UNSIGNED_LONG_INT]; |