summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--krl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/krl.c b/krl.c
index 5fa74636f..47d6d2c3d 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $OpenBSD: krl.c,v 1.23 2015/01/12 14:05:19 markus Exp $ */ 17/* $OpenBSD: krl.c,v 1.24 2015/01/12 19:22:46 markus Exp $ */
18 18
19#include "includes.h" 19#include "includes.h"
20 20
@@ -716,7 +716,7 @@ ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf,
716 sshbuf_reset(sect); 716 sshbuf_reset(sect);
717 RB_FOREACH(rb, revoked_blob_tree, &krl->revoked_keys) { 717 RB_FOREACH(rb, revoked_blob_tree, &krl->revoked_keys) {
718 debug3("%s: key len %zu ", __func__, rb->len); 718 debug3("%s: key len %zu ", __func__, rb->len);
719 if ((sshbuf_put_string(sect, rb->blob, rb->len)) != 0) 719 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
720 goto out; 720 goto out;
721 } 721 }
722 if (sshbuf_len(sect) != 0) { 722 if (sshbuf_len(sect) != 0) {
@@ -727,7 +727,7 @@ ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf,
727 sshbuf_reset(sect); 727 sshbuf_reset(sect);
728 RB_FOREACH(rb, revoked_blob_tree, &krl->revoked_sha1s) { 728 RB_FOREACH(rb, revoked_blob_tree, &krl->revoked_sha1s) {
729 debug3("%s: hash len %zu ", __func__, rb->len); 729 debug3("%s: hash len %zu ", __func__, rb->len);
730 if ((sshbuf_put_string(sect, rb->blob, rb->len)) != 0) 730 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
731 goto out; 731 goto out;
732 } 732 }
733 if (sshbuf_len(sect) != 0) { 733 if (sshbuf_len(sect) != 0) {