diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index 5c4e2402bbefcca8eade57909408acc791280fe4..44f85b0c972125e3e595b384ae990137fe6beed9 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -520,8 +520,8 @@ static int osp_validate_token(
 	int res;
 	int tokenlen;
 	unsigned char tokenstr[OSP_TOKSTR_SIZE];
-	char src[OSP_TOKSTR_SIZE];
-	char dst[OSP_TOKSTR_SIZE];
+	char src[OSP_NORSTR_SIZE];
+	char dst[OSP_NORSTR_SIZE];
 	unsigned int authorised;
 	unsigned int dummy = 0;
 	int error;