Skip to content

Commit

Permalink
initWithSecCertificateRef: require valid certRef (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
russellhancox authored Jun 20, 2018
1 parent 79bfe7e commit 687e071
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/MOLCertificate/MOLCertificate.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ @implementation MOLCertificate
#pragma mark Init/Dealloc

- (instancetype)initWithSecCertificateRef:(SecCertificateRef)certRef {
if (!certRef) return nil;
self = [super init];
if (self) {
_certRef = certRef;
Expand Down

0 comments on commit 687e071

Please sign in to comment.