Added decrypting/decoding/parsing of SPA data.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@24 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
@@ -194,7 +194,7 @@ int validate_access_msg(const char *msg)
|
||||
&& strncmp(ndx, "none", 4))
|
||||
return(FKO_ERROR_INVALID_SPA_ACCESS_MSG);
|
||||
|
||||
ndx = strchr(ndx, ',');
|
||||
ndx = strchr(ndx, '/');
|
||||
if(ndx == NULL || (1+(ndx - msg)) >= startlen)
|
||||
return(FKO_ERROR_INVALID_SPA_ACCESS_MSG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user