summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/x_bignum.c')
-rw-r--r--src/lib/libcrypto/asn1/x_bignum.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/lib/libcrypto/asn1/x_bignum.c b/src/lib/libcrypto/asn1/x_bignum.c
index 73f0f73c1c..a5a307eff7 100644
--- a/src/lib/libcrypto/asn1/x_bignum.c
+++ b/src/lib/libcrypto/asn1/x_bignum.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x_bignum.c,v 1.8 2015/07/25 17:07:17 jsing Exp $ */ 1/* $OpenBSD: x_bignum.c,v 1.9 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 */
@@ -77,13 +77,14 @@ static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
77 int utype, char *free_cont, const ASN1_ITEM *it); 77 int utype, char *free_cont, const ASN1_ITEM *it);
78 78
79static ASN1_PRIMITIVE_FUNCS bignum_pf = { 79static ASN1_PRIMITIVE_FUNCS bignum_pf = {
80 NULL, 80 .app_data = NULL,
81 0, 81 .flags = 0,
82 bn_new, 82 .prim_new = bn_new,
83 bn_free, 83 .prim_free = bn_free,
84 0, 84 .prim_clear = NULL, /* XXX */
85 bn_c2i, 85 .prim_c2i = bn_c2i,
86 bn_i2c 86 .prim_i2c = bn_i2c,
87 .prim_print = NULL,
87}; 88};
88 89
89const ASN1_ITEM BIGNUM_it = { 90const ASN1_ITEM BIGNUM_it = {