MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Set

Method Set

Libraries/unrar/secpassword.cpp:125–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124
125void SecPassword::Set(const wchar *Psw)
126{
127 if (*Psw==0)
128 {
129 PasswordSet=false;
130 memset(Password,0,sizeof(Password));
131 }
132 else
133 {
134 PasswordSet=true;
135 Process(Psw,wcslen(Psw)+1,Password,ASIZE(Password),true);
136 }
137}
138
139
140size_t SecPassword::Length()

Callers 6

ProcessSwitchMethod · 0.80
RARSetPasswordFunction · 0.80
GetConsolePasswordFunction · 0.80
RequestArcPasswordMethod · 0.80
ExtrDllGetPasswordMethod · 0.80
ConvertDosPasswordMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected