Permalink
Browse files

Fixed description of bit string

  • Loading branch information...
1 parent a30f83e commit c6f439b101889fb5c584fd4d9426ea2f03104534 @odrobnik odrobnik committed Mar 10, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 Core/Source/DTASN1BitString.m
@@ -30,6 +30,12 @@ - (id)initWithData:(NSData *)data unusedBits:(NSUInteger)unusedBits
- (NSString *)description
{
+ return _data.description;
+}
+
+
+- (NSString *)stringWithBits
+{
unsigned char *b = (unsigned char*) [_data bytes];
int size = (int)[_data length];
unsigned char byte;

0 comments on commit c6f439b

Please sign in to comment.