[server] add AFL support for fuzzing SPA Rijndael decryption routine directly with --afl-pkt-file

This commit is contained in:
Michael Rash
2014-12-03 20:25:05 -05:00
parent 53be8c4116
commit 285ec0ddcb
10 changed files with 143 additions and 3 deletions
+5
View File
@@ -331,6 +331,11 @@ add_salted_str(fko_ctx_t ctx)
{
char *tbuf;
#if AFL_FUZZING
ctx->added_salted_str = 1;
return(FKO_SUCCESS);
#endif
/* We only add the base64 encoded salt to data that is already base64
* encoded
*/