summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-01-07 11:13:55 +0000
committertb <>2022-01-07 11:13:55 +0000
commitbe94cfe2fe331560a143676b8617867e0f0674a0 (patch)
treecea8fd9df9e62ee53af6f8a820cebc3c266aa116 /src
parent79f266d95b1179bddc9e06127734346144314625 (diff)
downloadopenbsd-be94cfe2fe331560a143676b8617867e0f0674a0.tar.gz
openbsd-be94cfe2fe331560a143676b8617867e0f0674a0.tar.bz2
openbsd-be94cfe2fe331560a143676b8617867e0f0674a0.zip
include asn1_locl.h where it will be needed for the bump.
discussed with jsing
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/asn1/a_object.c4
-rw-r--r--src/lib/libcrypto/asn1/asn_moid.c4
-rw-r--r--src/lib/libcrypto/asn1/tasn_enc.c4
-rw-r--r--src/lib/libcrypto/evp/evp_lib.c3
-rw-r--r--src/lib/libcrypto/objects/obj_dat.c4
-rw-r--r--src/lib/libcrypto/objects/obj_lib.c4
-rw-r--r--src/lib/libcrypto/rsa/rsa_sign.c3
7 files changed, 19 insertions, 7 deletions
diff --git a/src/lib/libcrypto/asn1/a_object.c b/src/lib/libcrypto/asn1/a_object.c
index 5d91806ba4..1407f7df1c 100644
--- a/src/lib/libcrypto/asn1/a_object.c
+++ b/src/lib/libcrypto/asn1/a_object.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_object.c,v 1.36 2021/12/25 13:17:48 jsing Exp $ */ 1/* $OpenBSD: a_object.c,v 1.37 2022/01/07 11:13:54 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -67,6 +67,8 @@
67#include <openssl/buffer.h> 67#include <openssl/buffer.h>
68#include <openssl/objects.h> 68#include <openssl/objects.h>
69 69
70#include "asn1_locl.h"
71
70const ASN1_ITEM ASN1_OBJECT_it = { 72const ASN1_ITEM ASN1_OBJECT_it = {
71 .itype = ASN1_ITYPE_PRIMITIVE, 73 .itype = ASN1_ITYPE_PRIMITIVE,
72 .utype = V_ASN1_OBJECT, 74 .utype = V_ASN1_OBJECT,
diff --git a/src/lib/libcrypto/asn1/asn_moid.c b/src/lib/libcrypto/asn1/asn_moid.c
index 7bf493e288..c672f0ae94 100644
--- a/src/lib/libcrypto/asn1/asn_moid.c
+++ b/src/lib/libcrypto/asn1/asn_moid.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn_moid.c,v 1.13 2017/01/29 17:49:22 beck Exp $ */ 1/* $OpenBSD: asn_moid.c,v 1.14 2022/01/07 11:13:54 tb Exp $ */
2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL 2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -65,6 +65,8 @@
65#include <openssl/crypto.h> 65#include <openssl/crypto.h>
66#include <openssl/x509.h> 66#include <openssl/x509.h>
67 67
68#include "asn1_locl.h"
69
68/* Simple ASN1 OID module: add all objects in a given section */ 70/* Simple ASN1 OID module: add all objects in a given section */
69 71
70static int do_create(char *value, char *name); 72static int do_create(char *value, char *name);
diff --git a/src/lib/libcrypto/asn1/tasn_enc.c b/src/lib/libcrypto/asn1/tasn_enc.c
index 5d95f035ef..ee2320f856 100644
--- a/src/lib/libcrypto/asn1/tasn_enc.c
+++ b/src/lib/libcrypto/asn1/tasn_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tasn_enc.c,v 1.23 2020/12/08 15:06:42 tb Exp $ */ 1/* $OpenBSD: tasn_enc.c,v 1.24 2022/01/07 11:13:54 tb 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 */
@@ -64,6 +64,8 @@
64#include <openssl/err.h> 64#include <openssl/err.h>
65#include <openssl/objects.h> 65#include <openssl/objects.h>
66 66
67#include "asn1_locl.h"
68
67static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 69static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
68 const ASN1_ITEM *it, int tag, int aclass); 70 const ASN1_ITEM *it, int tag, int aclass);
69static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out, 71static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out,
diff --git a/src/lib/libcrypto/evp/evp_lib.c b/src/lib/libcrypto/evp/evp_lib.c
index 63bd147fea..8070fa45ae 100644
--- a/src/lib/libcrypto/evp/evp_lib.c
+++ b/src/lib/libcrypto/evp/evp_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_lib.c,v 1.21 2021/12/24 12:55:04 tb Exp $ */ 1/* $OpenBSD: evp_lib.c,v 1.22 2022/01/07 11:13:54 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -63,6 +63,7 @@
63#include <openssl/evp.h> 63#include <openssl/evp.h>
64#include <openssl/objects.h> 64#include <openssl/objects.h>
65 65
66#include "asn1_locl.h"
66#include "evp_locl.h" 67#include "evp_locl.h"
67 68
68int 69int
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c
index db2579996e..bcbc8cef85 100644
--- a/src/lib/libcrypto/objects/obj_dat.c
+++ b/src/lib/libcrypto/objects/obj_dat.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_dat.c,v 1.43 2021/09/01 09:42:28 beck Exp $ */ 1/* $OpenBSD: obj_dat.c,v 1.44 2022/01/07 11:13:54 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -69,6 +69,8 @@
69#include <openssl/lhash.h> 69#include <openssl/lhash.h>
70#include <openssl/objects.h> 70#include <openssl/objects.h>
71 71
72#include "asn1_locl.h"
73
72/* obj_dat.h is generated from objects.h by obj_dat.pl */ 74/* obj_dat.h is generated from objects.h by obj_dat.pl */
73#include "obj_dat.h" 75#include "obj_dat.h"
74 76
diff --git a/src/lib/libcrypto/objects/obj_lib.c b/src/lib/libcrypto/objects/obj_lib.c
index 5327a0cb98..39cd41249f 100644
--- a/src/lib/libcrypto/objects/obj_lib.c
+++ b/src/lib/libcrypto/objects/obj_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: obj_lib.c,v 1.15 2018/09/08 10:31:24 tb Exp $ */ 1/* $OpenBSD: obj_lib.c,v 1.16 2022/01/07 11:13:54 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -64,6 +64,8 @@
64#include <openssl/lhash.h> 64#include <openssl/lhash.h>
65#include <openssl/objects.h> 65#include <openssl/objects.h>
66 66
67#include "asn1_locl.h"
68
67ASN1_OBJECT * 69ASN1_OBJECT *
68OBJ_dup(const ASN1_OBJECT *o) 70OBJ_dup(const ASN1_OBJECT *o)
69{ 71{
diff --git a/src/lib/libcrypto/rsa/rsa_sign.c b/src/lib/libcrypto/rsa/rsa_sign.c
index 9ee61a381c..bd45a95d54 100644
--- a/src/lib/libcrypto/rsa/rsa_sign.c
+++ b/src/lib/libcrypto/rsa/rsa_sign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa_sign.c,v 1.33 2021/11/01 20:53:08 tb Exp $ */ 1/* $OpenBSD: rsa_sign.c,v 1.34 2022/01/07 11:13:55 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -65,6 +65,7 @@
65#include <openssl/rsa.h> 65#include <openssl/rsa.h>
66#include <openssl/x509.h> 66#include <openssl/x509.h>
67 67
68#include "asn1_locl.h"
68#include "rsa_locl.h" 69#include "rsa_locl.h"
69#include "x509_lcl.h" 70#include "x509_lcl.h"
70 71