Added in the logic to error out immediately upon a bad combination.  Took out some debug statements and changed something over to a strcpy to remove silly strdup.
Moved over the debug printMD5 to the functions.  Changed the logic to ensure that it is looking fort a 1 instead of any nonzero since the negative one values where triggering bad paths.
Big rewrite and now everything works with the AEs and MD5 routines.  Is able to successfully able to determine file integrity compromises even when a valid token is presented for addition of new information.