aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-02-13 17:15:32 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-02-13 17:15:32 +0000
commite4119b931172a6a28e2ecb65ef41c6f23b89d09c (patch)
tree5467ca9197750aa48bfa55618e5906333f60de92 /crypto/asn1
parent4a71b90debd3db4bade3792d249272e2e52b2016 (diff)
downloadopenssl-e4119b931172a6a28e2ecb65ef41c6f23b89d09c.tar.gz
Fix typo in asn1.h (PRINTABLESTRING_STRING) and fix a bug in object creation
perl script. It failed if the OID had any zeros in it.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 0ae77daaf3..5054ffd30c 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -305,7 +305,7 @@ typedef struct asn1_header_st
B_ASN1_BMPSTRING|\
B_ASN1_UNKNOWN)
-#define ASN1_PRINTABLESTRING_new() (ASN1_PRINTABLESTRING_STRING *)\
+#define ASN1_PRINTABLESTRING_new() (ASN1_PRINTABLESTRING *)\
ASN1_STRING_type_new(V_ASN1_PRINTABLESTRING)
#define ASN1_PRINTABLESTRING_free(a) ASN1_STRING_free((ASN1_STRING *)a)
#define M_i2d_ASN1_PRINTABLESTRING(a,pp) \