Skip to content

Commit

Permalink
Make sure the key size is properly propagated in initialisers
Browse files Browse the repository at this point in the history
  • Loading branch information
henrinormak committed Oct 23, 2015
1 parent 939d5d6 commit 7ee40a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Heimdall/Heimdall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public class Heimdall {
/// - returns: Heimdall instance that can handle both private and public key operations
///
public convenience init?(tagPrefix: String, keySize: Int = 2048) {
self.init(publicTag: tagPrefix, privateTag: tagPrefix + ".private")
self.init(publicTag: tagPrefix, privateTag: tagPrefix + ".private", keySize: keySize)
}

///
Expand Down

0 comments on commit 7ee40a7

Please sign in to comment.