Detect null secret as error, it is temp. fix until next release
Submitted by: Craig Metz <cmetz@inner.net>
This commit is contained in:
parent
ba9be04c72
commit
6d0f9ab962
@ -45,6 +45,9 @@ int opiegenerator FUNCTION((buffer, secret, response), char *buffer AND char *se
|
||||
if ((sequence < 2) || (sequence > 9999))
|
||||
return 1;
|
||||
|
||||
if (!secret[0])
|
||||
return 2;
|
||||
|
||||
if (opiepasscheck(secret))
|
||||
return -2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user