summaryrefslogtreecommitdiffstats
path: root/src/crypto/asn1/tasn_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/asn1/tasn_new.c')
-rw-r--r--src/crypto/asn1/tasn_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/asn1/tasn_new.c b/src/crypto/asn1/tasn_new.c
index 918aba7..6d69dcb 100644
--- a/src/crypto/asn1/tasn_new.c
+++ b/src/crypto/asn1/tasn_new.c
@@ -190,7 +190,7 @@ static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
if (!*pval)
goto memerr;
memset(*pval, 0, it->size);
- asn1_do_lock(pval, 0, it);
+ asn1_refcount_set_one(pval, it);
asn1_enc_init(pval, it);
}
for (i = 0, tt = it->templates; i < it->tcount; tt++, i++)