sxt: ciphers bugfix;

master
Alexander Vdolainen 8 years ago
parent e9c83cf26c
commit 0509cf4abe

@ -73,7 +73,7 @@ sxt_cipher_t *sxt_cipher_get(const char *name)
list_for_each_safe(&cipher_listhead, iter, siter) { list_for_each_safe(&cipher_listhead, iter, siter) {
entry = list_entry(iter, struct cipher_tbl, node); entry = list_entry(iter, struct cipher_tbl, node);
sc = entry->cipher; sc = entry->cipher;
if(!strcmp(sxt_cipher_getname(sc), name)) return sc; if(!strcmp(sxt_cipher_getname(sc), name)) break;
else sc = NULL; else sc = NULL;
} }

Loading…
Cancel
Save