Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 55a0135

Browse filesBrowse files
wooffieaduh95
authored andcommitted
src: add default value for RSACipherConfig mode field
Using default init of enum is UB Refs: #56693 PR-URL: #56701 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f4a9b13 commit 55a0135
Copy full SHA for 55a0135

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/crypto/crypto_rsa.h‎

Copy file name to clipboardExpand all lines: src/crypto/crypto_rsa.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct RSAKeyExportTraits final {
7777
using RSAKeyExportJob = KeyExportJob<RSAKeyExportTraits>;
7878

7979
struct RSACipherConfig final : public MemoryRetainer {
80-
CryptoJobMode mode;
80+
CryptoJobMode mode = kCryptoJobAsync;
8181
ByteSource label;
8282
int padding = 0;
8383
const EVP_MD* digest = nullptr;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.