On Tue, Feb 21, 2006 at 01:49:25PM +0100, <Dr. Stephen Henson>:
~> The way you are supposed to use this stuff is to first get the length, then
~> allocate enough memory and finally write out the encoding.
~> 
~> It isn't a good idea to make assumptions about the maximum size. It risks
~> buffer overrun vulnerabilities. There have been actual cases of that
~> happening.

Ok, but I need to know its upper bound limit in order to reject bad headers
where the skey_len is > of the maximum allowed value.
What is it for a key of 1024 bits?
700 bytes are sufficient?

Does the pkey_len change too?
With a key of 1024 I've only got pkey of 140 bytes (packed).

cya ;)
-- 
:wq!
"I don't know nothing" The One Who reached the Thinking Matter   '.'

[ Alpt --- Freaknet Medialab ]
[ GPG Key ID 441CF0EE ]
[ Key fingerprint = 8B02 26E8 831A 7BB9 81A9  5277 BFF8 037E 441C F0EE ]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to