aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs
diff options
context:
space:
mode:
Diffstat (limited to 'src/constructs')
-rw-r--r--src/constructs/tss/tss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constructs/tss/tss.h b/src/constructs/tss/tss.h
index 45d64d9cb..c8b0242d8 100644
--- a/src/constructs/tss/tss.h
+++ b/src/constructs/tss/tss.h
@@ -45,7 +45,7 @@ class BOTAN_DLL RTSS_Share
byte share_id() const;
u32bit size() const { return contents.size(); }
- bool initialized() const { return contents.size(); }
+ bool initialized() const { return (contents.size() > 0); }
private:
SecureVector<byte> contents;
};