|
|
@ -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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|