summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-01-28 12:32:03 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-01-28 12:32:03 +0000
commit079e00e646ffe61c2373b1bf2282c8a4ca21f776 (patch)
treec4c22a45fa0098b3b528cf3a2886c2a2a62ba4e2
parent5871ddb01626e5ca3507fd171cf28b50305d6836 (diff)
Typo: just copy across an unknown type.
-rw-r--r--crypto/asn1/x_name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c
index c6658d7aff..caa4409feb 100644
--- a/crypto/asn1/x_name.c
+++ b/crypto/asn1/x_name.c
@@ -400,6 +400,7 @@ static int asn1_string_canon(ASN1_STRING *out, ASN1_STRING *in)
out->type = in->type;
if (!ASN1_STRING_set(out, in->data, in->length))
return 0;
+ return 1;
}
out->type = V_ASN1_UTF8STRING;