From: Dr Stephen Henson <[EMAIL PROTECTED]> drh> So, any thoughts on the matter? Hmm, a general UI function in OpenSSL that takes the following parameters: - a command number (GIVE_PASSWD, HANDLE_CARD, ...) - a prompt string - a "wrong" string (eh, "That was the wrong password", f. example?) - a return buffer (double pointer, so we might allocate it in that function) - a return buffer size (pointer to int, so we might fill it in ourselves) - a pointer to user data This function would then do a default thing or call an application-supplied callback that does the right thing. Does that sound like an idea? In any case, this would probably become a new directory under crypto/, don't you think? crypto/ui/? [it should be plain visible that I was a bit inspired from the HWCryptoHook stuff :-)] -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Software Engineer, Celo Communications: http://www.celocom.com/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: Harmonising OpenSSL UI handling...
Richard Levitte - VMS Whacker Thu, 15 Jun 2000 01:16:57 -0700
- Harmonising OpenSSL UI handling... Dr Stephen Henson
- Re: Harmonising OpenSSL UI handling... Richard Levitte - VMS Whacker
- Re: Harmonising OpenSSL UI handling... Goetz Babin-Ebell
- Re: Harmonising OpenSSL UI hand... Richard Levitte - VMS Whacker
- Re: Harmonising OpenSSL UI ... Goetz Babin-Ebell
- Re: Harmonising OpenSS... Richard Levitte - VMS Whacker
- Re: Harmonising Op... Goetz Babin-Ebell
- Re: Harmonising OpenSSL UI handling... Geoff Thorpe
- Re: Harmonising OpenSSL UI handling... Richard Levitte - VMS Whacker
- Re: Harmonising OpenSSL UI hand... Geoff Thorpe