Return to krl.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.57, 2023/07/17 04:01:10 | version 1.58, 2023/07/17 05:20:15 | ||
---|---|---|---|
|
|
||
/* KRL must begin with magic string */ | /* KRL must begin with magic string */ | ||
if ((r = sshbuf_cmp(buf, 0, KRL_MAGIC, sizeof(KRL_MAGIC) - 1)) != 0) { | if ((r = sshbuf_cmp(buf, 0, KRL_MAGIC, sizeof(KRL_MAGIC) - 1)) != 0) { | ||
debug2_f("bad KRL magic header"); | debug2_f("bad KRL magic header"); | ||
return r; | return SSH_ERR_KRL_BAD_MAGIC; | ||
} | } | ||
if ((krl = ssh_krl_init()) == NULL) { | if ((krl = ssh_krl_init()) == NULL) { |