mirror of https://github.com/macssh/macssh.git
fixed crash if no plugin
This commit is contained in:
parent
0720692c3a
commit
3ed0ba3f2e
|
@ -378,8 +378,11 @@ short encrypt_suboption (tnParams **aedata, unsigned char *subbuffer, long suble
|
|||
if (code->encryptok)
|
||||
break;
|
||||
}
|
||||
if (!code)
|
||||
if (!code) {
|
||||
DisposePtr(*aedata);
|
||||
*aedata = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
switch (code->authType)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue