]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Avoid an error when asn1_shrink() is already at end of object
authorMichael Brown <mcb30@ipxe.org>
Thu, 22 Mar 2012 02:10:17 +0000 (02:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 22 Mar 2012 02:28:49 +0000 (02:28 +0000)
commit2cd24473b8e41b54f1dafc16c7b5adee8c224446
tree3810960b79e2cb35c37dbe67f6d767df48d68ce6
parent2d9d0adc4e7539c45a2a0f387bcf60a1f96ed79c
[crypto] Avoid an error when asn1_shrink() is already at end of object

asn1_skip() will return an error on reaching the end of an object, and
so should not be used as the basis for asn1_shrink().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/asn1.c