diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-14 15:25:09 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-14 15:25:09 +0000 |
commit | eedeaee1f54f806523a066b1680ff5eddcb1ebf5 (patch) | |
tree | 23b50b1f02cc52f4b67f86430966e4d2b2444803 /lib | |
parent | ace83659660d93eea80fdb50ba277141772ca67f (diff) |
Manually expand IMPLEMENT_EXTERN_ASN1 macro (the only occurence in crypto).
Only change to generated assembly is due to line numbers.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/src/crypto/asn1/x_name.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/asn1/x_name.c b/lib/libssl/src/crypto/asn1/x_name.c index c69c35534d0..c7f47590887 100644 --- a/lib/libssl/src/crypto/asn1/x_name.c +++ b/lib/libssl/src/crypto/asn1/x_name.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x_name.c,v 1.27 2015/02/14 15:16:59 miod Exp $ */ +/* $OpenBSD: x_name.c,v 1.28 2015/02/14 15:25:08 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -169,8 +169,15 @@ const ASN1_EXTERN_FUNCS x509_name_ff = { x509_name_ex_print }; -IMPLEMENT_EXTERN_ASN1(X509_NAME, V_ASN1_SEQUENCE, x509_name_ff) - +const ASN1_ITEM X509_NAME_it = { + .itype = ASN1_ITYPE_EXTERN, + .utype = V_ASN1_SEQUENCE, + .templates = NULL, + .tcount = 0, + .funcs = &x509_name_ff, + .size = 0, + .sname = "X509_NAME", +}; X509_NAME * d2i_X509_NAME(X509_NAME **a, const unsigned char **in, long len) |