Skip to content

Commit a2bd45c

Browse files
committed
Change default RSA exponent to 0
This commit modifies the default value of `RsaExponent` to 0 from (1 << 16) + 1 as the current value is causing backwards compatibility issues. Signed-off-by: Ionut Mihalcea <[email protected]>
1 parent 256fa0d commit a2bd45c

File tree

1 file changed

+1
-3
lines changed
  • tss-esapi/src/structures/buffers/public

1 file changed

+1
-3
lines changed

tss-esapi/src/structures/buffers/public/rsa.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,7 @@ impl RsaExponent {
259259

260260
impl Default for RsaExponent {
261261
fn default() -> RsaExponent {
262-
RsaExponent {
263-
value: (1 << 16) + 1,
264-
}
262+
RsaExponent { value: 0 }
265263
}
266264
}
267265

0 commit comments

Comments
 (0)