diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-24 17:57:51 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-24 17:57:51 +0100 |
commit | 3c439d2a5c5fb669645076bcd380a352fb23d725 (patch) | |
tree | 335054456029bbf58047c21d8f91eacf9891ab89 /lib/int.h | |
parent | 87eaca2a83999caa575df98a7d7e483251c361ee (diff) | |
download | libtasn1-3c439d2a5c5fb669645076bcd380a352fb23d725.tar.gz libtasn1-3c439d2a5c5fb669645076bcd380a352fb23d725.tar.bz2 libtasn1-3c439d2a5c5fb669645076bcd380a352fb23d725.zip |
corrected compatibility mode with old structures.
Diffstat (limited to 'lib/int.h')
-rw-r--r-- | lib/int.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ inline static unsigned int convert_old_type(unsigned int ntype) unsigned int type = ntype & 0xff; if (type == ASN1_ETYPE_TIME) { - if (type & CONST_UTC) + if (ntype & CONST_UTC) type = ASN1_ETYPE_UTC_TIME; else type = ASN1_ETYPE_GENERALIZED_TIME; |