Skip to content

Commit

Permalink
Merge <openssl/x509v3.h> into <openssl/x509.h>
Browse files Browse the repository at this point in the history
The headers moved from x509v3 to x509 was redone to avoid unintentionally
taking changes we've skipped and keep AWS-LC specific changes.

Change-Id: I53147d1f96d1f99909f5c8bda00cefb088677a0e
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/64138
Reviewed-by: Bob Beck <[email protected]>
Commit-Queue: David Benjamin <[email protected]>
(cherry picked from commit 58906eab928fe849a55cb846fcd84fb8b64773ed)
  • Loading branch information
davidben authored and samuel40791765 committed Apr 11, 2024
1 parent 53d9614 commit 090069e
Show file tree
Hide file tree
Showing 48 changed files with 1,100 additions and 1,131 deletions.
2 changes: 1 addition & 1 deletion crypto/decrepit/x509/x509_decrepit.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */

#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include <assert.h>

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/asn1_gen.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#include <openssl/bytestring.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>

#include "../conf/internal.h"
#include "../internal.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
#include <openssl/base.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../asn1/internal.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509v3.h>

#include "../internal.h"
#include "internal.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/t_crl.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>


int X509_CRL_print_fp(FILE *fp, X509_CRL *x) {
BIO *b = BIO_new_fp(fp, BIO_NOCLOSE);
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/t_req.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
#include <openssl/err.h>
#include <openssl/objects.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "internal.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/t_x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/tab_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

#include <gtest/gtest.h>

#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "../internal.h"
#include "ext_dat.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_akey.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_akeya.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/conf.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>


ASN1_SEQUENCE(AUTHORITY_KEYID) = {
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_alt.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_bcons.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_bitst.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/v3_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../internal.h"
#include "internal.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_cpols.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_crld.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_enum.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_extku.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_genn.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
#include <openssl/asn1t.h>
#include <openssl/conf.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_ia5.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "../internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(
const X509V3_EXT_METHOD *method, void *ext, STACK_OF(CONF_VALUE) *ret);
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
#include <stdio.h>

#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>


static char *i2s_ASN1_INTEGER_cb(const X509V3_EXT_METHOD *method, void *ext) {
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_ncons.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "../internal.h"
#include "internal.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_ocsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <string.h>

#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include <openssl/asn1.h>
#include <openssl/bio.h>
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_pcons.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_pmaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
#include <openssl/conf.h>
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_prn.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include <openssl/bio.h>
#include <openssl/conf.h>
#include <openssl/mem.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

// Extension printing routines

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_purp.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/thread.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "../internal.h"
#include "internal.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_skey.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#include <openssl/err.h>
#include <openssl/obj.h>
#include <openssl/mem.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/v3_utl.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "../conf/internal.h"
#include "../internal.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_cmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../internal.h"
#include "internal.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "internal.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_lu.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#include <openssl/mem.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../internal.h"
#include "internal.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#include <openssl/pool.h>
#include <openssl/rand.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "internal.h"
#include "../evp_extra/internal.h"
Expand Down
2 changes: 1 addition & 1 deletion crypto/x509/x509_trs.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/obj.h>
#include <openssl/x509v3.h>
#include <openssl/x509.h>

#include "internal.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_v3.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "internal.h"

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_vfy.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#include <openssl/obj.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../internal.h"
#include "internal.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x509_vpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
#include <openssl/obj.h>
#include <openssl/stack.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../internal.h"
#include "internal.h"
Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x_crl.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
#include <openssl/stack.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include <assert.h>

Expand Down
1 change: 0 additions & 1 deletion crypto/x509/x_x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
#include <openssl/pool.h>
#include <openssl/thread.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include "../asn1/internal.h"
#include "../internal.h"
Expand Down
1 change: 0 additions & 1 deletion fuzz/conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <openssl/bio.h>
#include <openssl/conf.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

#include <algorithm>

Expand Down
Loading

0 comments on commit 090069e

Please sign in to comment.