Skip to content

Commit e8cd513

Browse files
authored
Merge pull request #292 from ionut-arm/rsa-exp-default
Change default RSA exponent to 0
2 parents 256fa0d + a2bd45c commit e8cd513

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)