Skip to content

Commit 6f6662a

Browse files
committed
lint code
1 parent a81e08b commit 6f6662a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: ShadowWeb/encrypt.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ void config_encryption(const char *password, const char *method) {
167167
// assert(0);
168168
// TODO
169169
printf("_cipher is nil! \r\nThe %s doesn't supported!\r\n please chose anthor!",name);
170-
}
171-
else
172-
{
170+
} else {
173171
unsigned char tmp[EVP_MAX_IV_LENGTH];
174172
_key_len = EVP_BytesToKey(_cipher, EVP_md5(), NULL, (unsigned char *)password,
175173
strlen(password), 1, (unsigned char *)_key, tmp);

0 commit comments

Comments
 (0)