Re: [Opencryptoki-tech] [PATCH] Minor adjustments to inner-functions error condition propagation
Brought to you by:
ebarretto
From: Klaus H. K. <kl...@li...> - 2010-12-27 18:29:28
|
On Sat, 18 Dec 2010 18:01:56 -0200 Klaus Heinrich Kiwi <kl...@li...> wrote: > There are functions which may return error conditions that are > not being checked on return, and others which are being checked > but always return the same value. > > This patch probably covers only a small fraction of them, but > its a start. > > Signed-off-by: Klaus Heinrich Kiwi <kl...@li...> > --- > usr/lib/pkcs11/common/h_extern.h | 2 +- > usr/lib/pkcs11/common/loadsave.c | 35 ++++++++++++++++++++++++++--------- > usr/lib/pkcs11/common/obj_mgr.c | 27 ++++++++++++++++++++++----- > 3 files changed, 49 insertions(+), 15 deletions(-) applied -- Klaus Heinrich Kiwi | kl...@br... | http://blog.klauskiwi.com Open Source Security blog : http://www.ratliff.net/blog IBM Linux Technology Center : http://www.ibm.com/linux/ltc |