Skip to content

Commit

Permalink
Merge pull request #51 from th-in-gs/develop
Browse files Browse the repository at this point in the history
Make DTASN1 be usable as a standalone static library.
  • Loading branch information
odrobnik committed Mar 12, 2014
2 parents 33d5415 + 998cb90 commit cb9b0e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Core/Source/DTASN1/DTASN1Parser.h
Expand Up @@ -6,8 +6,6 @@
// Copyright (c) 2012 Cocoanetics. All rights reserved.
//

#import "DTWeakSupport.h"

/**
Types of ASN1 tags, specifying the type of the following value in TLV notation
*/
Expand Down
3 changes: 2 additions & 1 deletion Core/Source/DTASN1/DTASN1Parser.m
Expand Up @@ -8,6 +8,7 @@

#import "DTASN1Parser.h"
#import "DTASN1BitString.h"
#import "DTWeakSupport.h"
#import "DTLog.h"

@implementation DTASN1Parser
Expand Down Expand Up @@ -135,7 +136,7 @@ - (BOOL)_parseValueWithTag:(NSUInteger)tag dataRange:(NSRange)dataRange
{
if (!dataRange.length && tag != DTASN1TypeNull)
{
DTLogError(@"Encountered zero length data for tag %ld", (unsigned long)tag);
//DTLogError(@"Encountered zero length data for tag %ld", (unsigned long)tag);

// only NULL can have zero length
return NO;
Expand Down
6 changes: 6 additions & 0 deletions DTFoundation.xcodeproj/project.pbxproj
Expand Up @@ -23,6 +23,9 @@
/* Begin PBXBuildFile section */
355B26B862090A50B1ED1EB4 /* DTSidePanelPanGestureRecognizer.h in Headers */ = {isa = PBXBuildFile; fileRef = 355B257CC69FC64D78ABE0BE /* DTSidePanelPanGestureRecognizer.h */; };
355B2F0AD6E0ED773FACD941 /* DTSidePanelPanGestureRecognizer.m in Sources */ = {isa = PBXBuildFile; fileRef = 355B210F4174F2B22B0CD6A0 /* DTSidePanelPanGestureRecognizer.m */; };
7DBE5BE11859D2E300679AF8 /* DTASN1BitString.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = A78EDD1E17A65AD800480205 /* DTASN1BitString.h */; };
7DBE5BE21859D2E500679AF8 /* DTASN1Parser.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = A78EDD2017A65AD800480205 /* DTASN1Parser.h */; };
7DBE5BE31859D2E800679AF8 /* DTASN1Serialization.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = A78EDD2217A65AD800480205 /* DTASN1Serialization.h */; };
A70B4CD01486621B00873A4A /* DTFoundation.h in Headers */ = {isa = PBXBuildFile; fileRef = A70B4CC51486621B00873A4A /* DTFoundation.h */; settings = {ATTRIBUTES = (Public, ); }; };
A70B4CD11486621B00873A4A /* DTVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = A70B4CC71486621B00873A4A /* DTVersion.h */; settings = {ATTRIBUTES = (Public, ); }; };
A70B4CD21486621B00873A4A /* DTVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = A70B4CC81486621B00873A4A /* DTVersion.m */; };
Expand Down Expand Up @@ -521,6 +524,9 @@
dstPath = "include/${PRODUCT_NAME}";
dstSubfolderSpec = 16;
files = (
7DBE5BE11859D2E300679AF8 /* DTASN1BitString.h in CopyFiles */,
7DBE5BE21859D2E500679AF8 /* DTASN1Parser.h in CopyFiles */,
7DBE5BE31859D2E800679AF8 /* DTASN1Serialization.h in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down

0 comments on commit cb9b0e6

Please sign in to comment.