Fix compiling without USE_ENCRYPTION