Fix loop into getkey

This commit is contained in:
brenosilva 2012-06-15 12:13:32 +00:00
parent 24b5c96c20
commit 563017fce6

View File

@ -132,7 +132,7 @@ unsigned char *getkey(apr_pool_t *mp) {
srand((unsigned int) time(0));
while(length--) {
output[length-1] = (rand() % 94 + 33);
output[length] = (rand() % 94 + 33);
srand(rand());
}