Your code successfuly fixed problems no.2 and no.3.

However problem no.1 (output of strange binary characters) described in my 
initial email is still there. Buffer that stores prompt really needs to be 
zeroed. Please see my initial patch (memset) for more details.

Kind Regards

Jaroslav Imrich

Disig, a.s.
Zahradnicka 151, 821 08 Bratislava 2

[email protected]
www.disig.sk

-----Original Message-----
From: Stephen Henson via RT [mailto:[email protected]]
Sent: Friday, March 12, 2010 1:50 PM
To: Imrich Jaroslav
Cc: [email protected]
Subject: [openssl.org #2192] [PATCH] chil engine displays weird prompts to the 
end user

> [[email protected] - Wed Mar 10 21:34:31 2010]:
>
> I've just realized that chil.patch I sent in my first e-mail can cause
> troubles when hwcrhk library passes null as stated in nCipher headers.
>
> I am attaching modified version "chil2.patch" that supports both null
> and an empty string.
>

I've fixed this using an equivalent technique. Let me know of any problems.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

Reply via email to