diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-24 10:41:33 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-24 10:41:33 +0100 |
commit | 2ac0d04b5f8571866e729e9d816ea69780892634 (patch) | |
tree | 38b4ec7e74c3dceb88726e7b42e18253af2e1a46 /lib/decoding.c | |
parent | bbfe113c2d7540c6883eb3d83d7052f49f7988fc (diff) | |
download | libtasn1-2ac0d04b5f8571866e729e9d816ea69780892634.tar.gz libtasn1-2ac0d04b5f8571866e729e9d816ea69780892634.tar.bz2 libtasn1-2ac0d04b5f8571866e729e9d816ea69780892634.zip |
some simplifications in time handling
Diffstat (limited to 'lib/decoding.c')
-rw-r--r-- | lib/decoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/decoding.c b/lib/decoding.c index 68f0634..f02fe10 100644 --- a/lib/decoding.c +++ b/lib/decoding.c @@ -1052,7 +1052,7 @@ asn1_der_decoding (asn1_node * element, const void *ider, int len, tlen = strlen (temp); if (tlen > 0) - _asn1_set_value (p, temp, tlen + 1); + _asn1_set_value (p, temp, tlen); counter += len2; move = RIGHT; break; |