Page MenuHome GnuPG

761_0001-gpg-Fix-calc_header_length-when-LEN-is-0-and-improve.patch
AbandonedPublic

Authored by neal on Feb 2 2016, 8:11 PM.

Details

Reviewers
None
Summary

From 8637b884d7fd7fa8780ec9e54a6ed44a68657973 Mon Sep 17 00:00:00 2001
From: "Neal H. Walfield" <neal@g10code.com>
Date: Tue, 2 Feb 2016 20:05:45 +0100
Subject: [PATCH] gpg: Fix calc_header_length when LEN is 0 and improve
documentation.

  • g10/build-packet.c (calc_header_length): Return the correct haeder

size when LEN is 0. Fix documentation.

Signed-off-by: Neal H. Walfield <neal@g10code.com>

GnuPG-bug-id: 2240

g10/build-packet.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

2.1.4

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped