File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Authentication/SCRAM-SHA-1 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,20 +65,20 @@ + (NSString *)mechanismName
65
65
66
66
- (id )initWithStream : (XMPPStream *)stream password : (NSString *)password
67
67
{
68
- return [self initWithStream: stream username: nil password: inPassword ];
68
+ return [self initWithStream: stream username: nil password: password ];
69
69
}
70
70
71
- - (id )initWithStream : (XMPPStream *)stream username : (NSString *)inUsername password : (NSString *)inPassword
71
+ - (id )initWithStream : (XMPPStream *)stream username : (NSString *)username password : (NSString *)password
72
72
{
73
73
if ((self = [super init ])) {
74
74
xmppStream = stream;
75
- if (inUsername )
75
+ if (username )
76
76
{
77
- _username = inUsername ;
77
+ _username = username ;
78
78
}
79
79
else
80
80
{
81
- _username = [XMPPStringPrep prepNode: [xmppStream.myJID user ]];
81
+ _username = [XMPPStringPrep prepNode: [xmppStream.myJID user ]];
82
82
}
83
83
_password = [XMPPStringPrep prepPassword: password];
84
84
_hashAlgorithm = kCCHmacAlgSHA1 ;
You can’t perform that action at this time.
0 commit comments