@@ -17,10 +17,11 @@ #include "config.h" #import "OFASN1Boolean.h" #import "OFData.h" +#import "OFString.h" #import "OFInvalidArgumentException.h" #import "OFInvalidFormatException.h" @implementation OFASN1Boolean @@ -57,6 +58,13 @@ @throw e; } return self; } + +- (OFString *)description +{ + return (_booleanValue + ? @"" + : @""); +} @end