#14465: Update openssl to tag android-4.0.4_r2.1
diff --git a/jni/openssl/crypto/asn1/x_name.c b/jni/openssl/crypto/asn1/x_name.c
index d7c2318..49be08b 100644
--- a/jni/openssl/crypto/asn1/x_name.c
+++ b/jni/openssl/crypto/asn1/x_name.c
@@ -399,7 +399,8 @@
 	/* If type not in bitmask just copy string across */
 	if (!(ASN1_tag2bit(in->type) & ASN1_MASK_CANON))
 		{
-		if (!ASN1_STRING_copy(out, in))
+		out->type = in->type;
+		if (!ASN1_STRING_set(out, in->data, in->length))
 			return 0;
 		return 1;
 		}