diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/x_long.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/x_long.c | 17 | 
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libcrypto/asn1/x_long.c b/src/lib/libcrypto/asn1/x_long.c index 9df3a3181a..b598937dcd 100644 --- a/src/lib/libcrypto/asn1/x_long.c +++ b/src/lib/libcrypto/asn1/x_long.c  | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x_long.c,v 1.11 2017/01/29 17:49:22 beck Exp $ */ | 1 | /* $OpenBSD: x_long.c,v 1.12 2019/03/31 14:39:15 jsing Exp $ */ | 
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 
| 3 | * project 2000. | 3 | * project 2000. | 
| 4 | */ | 4 | */ | 
| @@ -76,13 +76,14 @@ static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int u | |||
| 76 | static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); | 76 | static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); | 
| 77 | 77 | ||
| 78 | static ASN1_PRIMITIVE_FUNCS long_pf = { | 78 | static ASN1_PRIMITIVE_FUNCS long_pf = { | 
| 79 | NULL, 0, | 79 | .app_data = NULL, | 
| 80 | long_new, | 80 | .flags = 0, | 
| 81 | long_free, | 81 | .prim_new = long_new, | 
| 82 | long_free, /* Clear should set to initial value */ | 82 | .prim_free = long_free, | 
| 83 | long_c2i, | 83 | .prim_clear = long_free, /* Clear should set to initial value */ | 
| 84 | long_i2c, | 84 | .prim_c2i = long_c2i, | 
| 85 | long_print | 85 | .prim_i2c = long_i2c, | 
| 86 | .prim_print = long_print, | ||
| 86 | }; | 87 | }; | 
| 87 | 88 | ||
| 88 | const ASN1_ITEM LONG_it = { | 89 | const ASN1_ITEM LONG_it = { | 
