Skip to content

Commit 4e68f23

Browse files
authored
Did not return when token input is <4 chars and make a new 5.3.2 release version (#25)
1 parent aa3949b commit 4e68f23

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

UID2.Client.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package>
33
<metadata>
44
<id>UID2.Client</id>
5-
<version>5.3.1</version>
5+
<version>5.3.2</version>
66
<title>UID2 Client C# SDK</title>
77
<authors>UID2 team</authors>
88
<owners>UID2 team</owners>

src/UID2.Client/UID2Client.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public async Task<RefreshResponse> RefreshAsync(CancellationToken token)
134134

135135
private string GetAssemblyNameAndVersion()
136136
{
137-
var version = "5.3.1";
137+
var version = "5.3.2";
138138
return "uid-client-net-" + version;
139139
}
140140

src/UID2.Client/UID2Encryption.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal static DecryptionResponse Decrypt(string token, KeyContainer keys, Date
1919
{
2020
if (token.Length < 4)
2121
{
22-
DecryptionResponse.MakeError(DecryptionStatus.InvalidPayload);
22+
return DecryptionResponse.MakeError(DecryptionStatus.InvalidPayload);
2323
}
2424

2525
string headerStr = token.Substring(0, 4);

0 commit comments

Comments
 (0)