File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import Crypto
1616///
1717public struct SRPClient < H: HashFunction > {
1818 /// Errors thrown by SRPClient
19- enum Error : Swift . Error {
19+ public enum Error : Swift . Error {
2020 /// the key returned by server is invalid, in that either it modulo N is zero or the hash(A,B) is zero
2121 case nullServerKey
2222 /// server verification code was wrong
@@ -28,7 +28,7 @@ public struct SRPClient<H: HashFunction> {
2828 }
2929
3030 /// configuration. This needs to be the same as the server configuration
31- let configuration : SRPConfiguration < H >
31+ public let configuration : SRPConfiguration < H >
3232
3333 /// Initialise a SRPClient object
3434 /// - Parameter configuration: configuration to use
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import Crypto
1616///
1717public struct SRPServer < H: HashFunction > {
1818 ///Errors thrown by SRPServer
19- enum Error : Swift . Error {
19+ public enum Error : Swift . Error {
2020 /// the modulus of the client key and N generated a zero
2121 case nullClientKey
2222 /// client proof of the shared secret was invalid or wrong
You can’t perform that action at this time.
0 commit comments