summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-02-28 13:18:26 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-02-28 13:18:26 +0000
commita70a49a01871e655a76d108eaa09f0c7fce04c5a (patch)
treefe02d5bc57c71417791920c0d6331744825d7972 /crypto/asn1
parent61b05a00257636bfdea3f08c1e3ea0517f14fea3 (diff)
Fix typo and avoid warning.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c
index 52523d210a..90f14241e7 100644
--- a/crypto/asn1/a_type.c
+++ b/crypto/asn1/a_type.c
@@ -100,7 +100,7 @@ int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value)
else
{
ASN1_STRING *sdup;
- sdup = ASN1_STRING_dup(sdup);
+ sdup = ASN1_STRING_dup(value);
if (!sdup)
return 0;
ASN1_TYPE_set(a, type, sdup);