projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[crypto.git]
/
lib
/
silccrypt
/
silccipher.c
diff --git
a/lib/silccrypt/silccipher.c
b/lib/silccrypt/silccipher.c
index 0c8b6c77b18a5197aba5daaf228747917ae6720f..8162abd9f046be88a90bf7bac1182a8b57434fc9 100644
(file)
--- a/
lib/silccrypt/silccipher.c
+++ b/
lib/silccrypt/silccipher.c
@@
-200,7
+200,7
@@
int silc_cipher_alloc(const unsigned char *name, SilcCipher *new_cipher)
c = c->next;
}
- if (!c
|| !c->cipher->context_len
)
+ if (!c)
goto check_builtin;
/* Set the pointers */
@@
-222,7
+222,6
@@
int silc_cipher_alloc(const unsigned char *name, SilcCipher *new_cipher)
if (silc_cipher_builtin_list[i].name == NULL) {
silc_free(*new_cipher);
- *new_cipher = NULL;
return FALSE;
}