aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/asn1t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/openssl/asn1t.h')
-rw-r--r--include/openssl/asn1t.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/asn1t.h b/include/openssl/asn1t.h
index 1a17ee9..455efff 100644
--- a/include/openssl/asn1t.h
+++ b/include/openssl/asn1t.h
@@ -207,8 +207,8 @@ extern "C" {
static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_BROKEN, 0, 0, 0, 0}; \
ASN1_SEQUENCE(tname)
-# define ASN1_SEQUENCE_ref(tname, cb, lck) \
- static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), lck, cb, 0}; \
+# define ASN1_SEQUENCE_ref(tname, cb) \
+ static const ASN1_AUX tname##_aux = {NULL, ASN1_AFLG_REFCOUNT, offsetof(tname, references), offsetof(tname, lock), cb, 0}; \
ASN1_SEQUENCE(tname)
# define ASN1_SEQUENCE_enc(tname, enc, cb) \