Skip to content

Commit

Permalink
updated deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Footjy committed May 31, 2018
1 parent fbf7e79 commit 831c90c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BcryptSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = "BcryptSwift"
s.version = "1.0.2"
s.version = "1.0.3"
s.summary = "A standalone Bcrypt algorithm in Swift."
s.homepage = "https://github.com/360Learning/BcryptSwift"
s.license = "Apache"
Expand Down
8 changes: 4 additions & 4 deletions BcryptSwift/JKBCrypt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -823,11 +823,11 @@ public class JKBCrypt: NSObject {
}

private func deinitKey() {
p.deinitialize()
p.deallocate(capacity: P_orig.count)
p.deinitialize(count: P_orig.count)
p.deallocate()

s.deinitialize()
s.deallocate(capacity: S_orig.count)
s.deinitialize(count: S_orig.count)
s.deallocate()
}

/**
Expand Down

0 comments on commit 831c90c

Please sign in to comment.