Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 421a648

Browse files
committedNov 30, 2024·
format
1 parent 071cf6d commit 421a648

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed
 

‎DynamoDbEncryption/dafny/DynamoDbEncryption/src/ConfigToInfo.dfy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ module SearchConfigToInfo {
136136
else
137137
MPT.Default(Default := MPT.DefaultCache(entryCapacity := 1000))
138138
else
139-
if config.single.cache.Some? then
140-
config.single.cache.value
141-
else
142-
MPT.Default(Default := MPT.DefaultCache(entryCapacity := 1));
139+
if config.single.cache.Some? then
140+
config.single.cache.value
141+
else
142+
MPT.Default(Default := MPT.DefaultCache(entryCapacity := 1));
143143

144144
var cache;
145145
if cacheType.Shared? {

‎DynamoDbEncryption/dafny/DynamoDbEncryption/src/SearchInfo.dfy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ module SearchableEncryptionInfo {
293293
//# valid for TTL of the Beacon Key Source getting the cache entry.
294294
//# If this is NOT true, then we MUST treat the cache entry as expired.
295295
if getCacheOutput.Failure? || !cacheEntryWithinLimits(
296-
creationTime := getCacheOutput.value.creationTime,
297-
now := now,
298-
ttlSeconds := cacheTTL
299-
) {
296+
creationTime := getCacheOutput.value.creationTime,
297+
now := now,
298+
ttlSeconds := cacheTTL
299+
) {
300300
//= specification/searchable-encryption/search-config.md#beacon-keys
301301
//# Beacon keys MUST be obtained from the configured [Beacon Key Source](#beacon-key-source).
302302
var maybeRawBeaconKeyMaterials := store.GetBeaconKey(

0 commit comments

Comments
 (0)
Please sign in to comment.