Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating version to 1.0.203 #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BlueRSA.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "BlueRSA"
s.version = "1.0.202"
s.version = "1.0.203"
s.summary = "Swift cross-platform RSA crypto library using CommonCrypto/libcrypto via Package Manager."
s.homepage = "https://github.com/Kitura/BlueRSA"
s.license = { :type => "Apache License, Version 2.0" }
2 changes: 1 addition & 1 deletion Sources/CryptorRSA/CryptorRSAUtilities.swift
Original file line number Diff line number Diff line change
@@ -225,7 +225,7 @@ public extension CryptorRSA {
if keyData[26] == 0x30 {
return(keyData.advanced(by: 26))
}
let count = keyData.count / MemoryLayout<CUnsignedChar>.size

guard count > 0 else {
2 changes: 1 addition & 1 deletion Tests/CryptorRSATests/CryptorRSATests.swift
Original file line number Diff line number Diff line change
@@ -807,7 +807,7 @@ AqJRAgMBAAE=
let data1 = Data(base64Encoded: pemString) ?? Data()
print("data1 count=\(data1.count)")
do {
let pubKey = try CryptorRSA.createPublicKey(withPEM: pemString)
let _ = try CryptorRSA.createPublicKey(withPEM: pemString)
print("pemString1 successful")
} catch {
XCTFail("Error creating public key from pemString: \(error)")