summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-11-10 01:37:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-11-10 01:37:23 +0000
commitcd2e8a6f2da1d5a8e842f71511c68d1088629912 (patch)
tree13b51edcd97ee1de7f6750a4c2709292ce36d95b
parentd18b993c435d3f095cf485f48859065ce6052e35 (diff)
downloadopenssl-new-cd2e8a6f2da1d5a8e842f71511c68d1088629912.tar.gz
Print out GeneralizedTime and UTCTime in ASN1_STRING_print_ex().
-rw-r--r--CHANGES4
-rw-r--r--crypto/asn1/a_strex.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index e3b0623c0d..f3c304af7c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -616,6 +616,10 @@
[Richard Levitte]
Changes between 0.9.7c and 0.9.7d [xx XXX XXXX]
+
+ *) Print out GeneralizedTime and UTCTime in ASN1_STRING_print_ex().
+ [Peter Sylvester <Peter.Sylvester@EdelWeb.fr>]
+
*) Use the correct content when signing type "other".
[Steve Henson]
diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c
index 8abfdfe598..bde666a6ff 100644
--- a/crypto/asn1/a_strex.c
+++ b/crypto/asn1/a_strex.c
@@ -285,7 +285,7 @@ const static signed char tag2nbyte[] = {
-1, -1, 0, -1, /* 10-13 */
-1, -1, -1, -1, /* 15-17 */
-1, 1, 1, /* 18-20 */
- -1, 1, -1,-1, /* 21-24 */
+ -1, 1, 1, 1, /* 21-24 */
-1, 1, -1, /* 25-27 */
4, -1, 2 /* 28-30 */
};