Skip to content

Commit d35b99b

Browse files
chore: sync BoringSSL upstream (#9)
2 parents 8834107 + 0f201a0 commit d35b99b

207 files changed

Lines changed: 7908 additions & 3815 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.vac/boringssl-upstream.json‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"ref": "refs/heads/main",
66
"mirror_url": "https://github.com/google/boringssl.git"
77
},
8-
"previous_upstream_sha": "5ac7567c234514157a504ff3fbedc0f5eddbf678",
9-
"current_upstream_sha": "7496006103890fdd58b4c923e741692688b13415",
10-
"last_synced_at": "2026-08-24T06:28:59Z",
8+
"previous_upstream_sha": "7496006103890fdd58b4c923e741692688b13415",
9+
"current_upstream_sha": "b75f405cde1cc3c9fb811be155eecabe38f379bb",
10+
"last_synced_at": "2026-09-21T06:53:20Z",
1111
"local_patch": {
1212
"description": "Use portable C code for fiat_p256 mul/sqr on Windows by removing ADX assembly dispatch.",
1313
"commit": "d6238994c547f070c1e053aada216ee3ce67e8e0",
1414
"path": ".vac/patches/fiat-p256-windows.patch",
1515
"sha256": "7c101914e32a4586a74d77a0b789ec151b55b37d82818a4c22e26792a59118d1"
1616
},
1717
"last_verification": {
18-
"github_mirror_sha": "7496006103890fdd58b4c923e741692688b13415",
18+
"github_mirror_sha": "b75f405cde1cc3c9fb811be155eecabe38f379bb",
1919
"patch_replayed": true,
2020
"fiat_p256_adx_dispatch_absent": true
2121
},
@@ -74,6 +74,13 @@
7474
"new_upstream_sha": "7496006103890fdd58b4c923e741692688b13415",
7575
"github_mirror_sha": "7496006103890fdd58b4c923e741692688b13415",
7676
"local_patch_sha256": "7c101914e32a4586a74d77a0b789ec151b55b37d82818a4c22e26792a59118d1"
77+
},
78+
{
79+
"synced_at": "2026-09-21T06:53:20Z",
80+
"previous_upstream_sha": "7496006103890fdd58b4c923e741692688b13415",
81+
"new_upstream_sha": "b75f405cde1cc3c9fb811be155eecabe38f379bb",
82+
"github_mirror_sha": "b75f405cde1cc3c9fb811be155eecabe38f379bb",
83+
"local_patch_sha256": "7c101914e32a4586a74d77a0b789ec151b55b37d82818a4c22e26792a59118d1"
7784
}
7885
]
7986
}

‎MODULE.bazel‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# the revision where we bump the version.
1717
module(
1818
name = "boringssl",
19-
version = "0.20260813.0",
19+
version = "0.20260903.0",
2020
compatibility_level = 2,
2121
)
2222

‎build.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@
837837
"crypto/constant_time_test.cc",
838838
"crypto/cpu_arm_linux_test.cc",
839839
"crypto/crypto_test.cc",
840+
"crypto/curve25519/curve25519_test.cc",
840841
"crypto/curve25519/ed25519_test.cc",
841842
"crypto/curve25519/spake25519_test.cc",
842843
"crypto/curve25519/x25519_test.cc",
@@ -954,6 +955,7 @@
954955
"crypto/x509/test/*.pem",
955956
"crypto/x509/test/*.pk8",
956957
"crypto/x509/test/mtc/*.pem",
958+
"crypto/x509/test/mtc/*.txt",
957959
"third_party/wycheproof_testvectors/*.txt"
958960
],
959961
"internal_hdrs": [
@@ -1004,6 +1006,7 @@
10041006
"pki/verify_unittest.cc"
10051007
],
10061008
"data": [
1009+
"crypto/x509/test/mtc/*.txt",
10071010
"pki/testdata/cert_issuer_source_static_unittest/*.pem",
10081011
"pki/testdata/certificate_policies_unittest/*.pem",
10091012
"pki/testdata/crl_unittest/*.pem",

‎build.json.tmp‎

Whitespace-only changes.

‎crypto/bio/bio.cc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,6 @@ BIO_METHOD *BIO_meth_new(int type, const char *name) {
627627
return nullptr;
628628
}
629629
method->type = type;
630-
method->name = name;
631630
return method;
632631
}
633632

‎crypto/bio/bio_mem.cc‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,15 @@ static long mem_ctrl(BIO *bio, int cmd, long num, void *ptr) {
217217
}
218218

219219
static const BIO_METHOD mem_method = {
220-
BIO_TYPE_MEM, "memory buffer",
221-
/*bwrite=*/nullptr, mem_write_ex, mem_read, mem_gets,
222-
mem_ctrl, mem_new, mem_free, /*callback_ctrl=*/nullptr,
220+
BIO_TYPE_MEM,
221+
/*bwrite=*/nullptr,
222+
mem_write_ex,
223+
mem_read,
224+
mem_gets,
225+
mem_ctrl,
226+
mem_new,
227+
mem_free,
228+
/*callback_ctrl=*/nullptr,
223229
};
224230

225231
const BIO_METHOD *BIO_s_mem() { return &mem_method; }

‎crypto/bio/connect.cc‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,9 @@ BIO *BIO_new_connect(const char *hostname) {
431431
}
432432

433433
static const BIO_METHOD methods_connectp = {
434-
BIO_TYPE_CONNECT, "socket connect", /*bwrite=*/nullptr, conn_write_ex,
435-
conn_read, /*gets=*/nullptr, conn_ctrl, conn_new,
436-
conn_free, conn_callback_ctrl,
434+
BIO_TYPE_CONNECT, /*bwrite=*/nullptr, conn_write_ex,
435+
conn_read, /*gets=*/nullptr, conn_ctrl,
436+
conn_new, conn_free, conn_callback_ctrl,
437437
};
438438

439439
const BIO_METHOD *BIO_s_connect() { return &methods_connectp; }

‎crypto/bio/fd.cc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ static int fd_gets(BIO *bp, char *buf, int size) {
170170

171171
static const BIO_METHOD methods_fdp = {
172172
BIO_TYPE_FD,
173-
"file descriptor",
174173
/*bwrite=*/nullptr,
175174
fd_write_ex,
176175
fd_read,

‎crypto/bio/file.cc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ static int file_gets(BIO *bp, char *buf, int size) {
234234

235235
static const BIO_METHOD methods_filep = {
236236
BIO_TYPE_FILE,
237-
"FILE pointer",
238237
/*bwrite=*/nullptr,
239238
file_write_ex,
240239
file_read,

‎crypto/bio/internal.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ DECLARE_OPAQUE_STRUCT(bio_st, Bio)
4141

4242
struct bio_method_st {
4343
int type;
44-
const char *name;
4544
int (*bwrite)(BIO *, const char *, int);
4645
int (*bwrite_ex)(BIO *, const char *, size_t, size_t *);
4746
int (*bread)(BIO *, char *, int);

0 commit comments

Comments
 (0)