From a2bd45cac53a14817b1584df339e4a2e0124d5a3 Mon Sep 17 00:00:00 2001 From: Ionut Mihalcea Date: Wed, 17 Nov 2021 17:42:00 +0000 Subject: [PATCH] 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 --- tss-esapi/src/structures/buffers/public/rsa.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tss-esapi/src/structures/buffers/public/rsa.rs b/tss-esapi/src/structures/buffers/public/rsa.rs index e06be2f9..5bd787bd 100644 --- a/tss-esapi/src/structures/buffers/public/rsa.rs +++ b/tss-esapi/src/structures/buffers/public/rsa.rs @@ -259,9 +259,7 @@ impl RsaExponent { impl Default for RsaExponent { fn default() -> RsaExponent { - RsaExponent { - value: (1 << 16) + 1, - } + RsaExponent { value: 0 } } }