Skip to content

Commit

Permalink
Bug 1928110 - Vendor libwebrtc from d79a1859e0
Browse files Browse the repository at this point in the history
Upstream commit: https://webrtc.googlesource.com/src/+/d79a1859e058b6a030177b24ed8e4bb14525af79
    ssl: increase default RSA key size to 2048 bits

    since 1024 is already deprecated by OpenSSL and causes "too small key"
    issues on systems enforcing a minimum size. Similar issue here:
      nodejs/node#44498

    The minimum key size is not yet changed from 1024, this will require more effort for deprecation.

    BUG=webrtc:364338811

    Change-Id: Id4b24a2c289ec5e3f112288d32b8ac697ba1cfed
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/361128
    Reviewed-by: David Benjamin <davidbenwebrtc.org>
    Reviewed-by: Harald Alvestrand <htawebrtc.org>
    Commit-Queue: Philipp Hancke <phanckemeta.com>
    Cr-Commit-Position: refs/heads/main{#43110}

UltraBlame original commit: a674447f7a1f2d87718780cf2311b324c10f5384
  • Loading branch information
marco-c committed Nov 26, 2024
1 parent 7bae7a3 commit b3d9780
Show file tree
Hide file tree
Showing 7 changed files with 672 additions and 255 deletions.
47 changes: 47 additions & 0 deletions third_party/libwebrtc/README.moz-ff-commit
Original file line number Diff line number Diff line change
Expand Up @@ -515999,3 +515999,50 @@ of
lastest
vendoring
a6fbb35ac1
#
MOZ_LIBWEBRTC_SRC
=
/
home
/
mfroman
/
mozilla
/
elm
/
.
moz
-
fast
-
forward
/
moz
-
libwebrtc
MOZ_LIBWEBRTC_BRANCH
=
mozpatches
bash
dom
/
media
/
webrtc
/
third_party_build
/
fast
-
forward
-
libwebrtc
.
sh
#
base
of
lastest
vendoring
d79a1859e0
84 changes: 84 additions & 0 deletions third_party/libwebrtc/README.mozilla
Original file line number Diff line number Diff line change
Expand Up @@ -860174,3 +860174,87 @@ on
.
280581
.
#
.
/
mach
python
dom
/
media
/
webrtc
/
third_party_build
/
vendor
-
libwebrtc
.
py
-
-
from
-
local
/
home
/
mfroman
/
mozilla
/
elm
/
.
moz
-
fast
-
forward
/
moz
-
libwebrtc
-
-
commit
mozpatches
libwebrtc
libwebrtc
updated
from
/
home
/
mfroman
/
mozilla
/
elm
/
.
moz
-
fast
-
forward
/
moz
-
libwebrtc
commit
mozpatches
on
2024
-
11
-
19T17
:
36
:
24
.
201635
.
6 changes: 6 additions & 0 deletions third_party/libwebrtc/rtc_base/boringssl_identity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,12 @@ err
PEM_R_NO_START_LINE
)
{
err
=
ERR_get_error
(
)
;
break
;
}
Expand Down
6 changes: 6 additions & 0 deletions third_party/libwebrtc/rtc_base/openssl_identity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,12 @@ err
PEM_R_NO_START_LINE
)
{
err
=
ERR_get_error
(
)
;
break
;
}
Expand Down
20 changes: 20 additions & 0 deletions third_party/libwebrtc/rtc_base/openssl_stream_adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5507,6 +5507,16 @@ CDEF
ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
)
#
elif
defined
(
TLS1_RFC_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
)
CDEF
(
ECDHE_RSA_WITH_CHACHA20_POLY1305
)
#
endif
}
;
Expand Down Expand Up @@ -5547,6 +5557,16 @@ CDEF
ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
)
#
elif
defined
(
TLS1_CK_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
)
CDEF
(
ECDHE_ECDSA_WITH_CHACHA20_POLY1305
)
#
endif
}
;
Expand Down
2 changes: 1 addition & 1 deletion third_party/libwebrtc/rtc_base/ssl_identity.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const
int
kRsaDefaultModSize
=
1024
2048
;
static
const
Expand Down
Loading

0 comments on commit b3d9780

Please sign in to comment.