diff options
Diffstat (limited to 'src/crypt_sha256.c')
-rw-r--r-- | src/crypt_sha256.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/crypt_sha256.c b/src/crypt_sha256.c index c480637..fb19a07 100644 --- a/src/crypt_sha256.c +++ b/src/crypt_sha256.c @@ -35,12 +35,6 @@ char* get_crypt_sha256(const char *p) char enc64_pwd[LEN_ENC64]; char *final_pwd; - if (!check_passwd(p, len)) { - fprintf(stderr, - "the password has to be between 8 and 64 chars\n"); - exit(EXIT_FAILURE); - } - rand_fd = open(RAND_FILE, O_RDONLY); if (rand_fd < 0) { fprintf(stderr, "impossible to open " RAND_FILE "\n"); |