>> in crypto/asn1 , many "unsigned char **pp",
>Pointer to array of pointers to unsigned char
Sigh. Wrong. It's the address of a character pointer.
As Dr. Henson pointed out, the ASN1 routines typically
take a buffer pointer, parse some bytes, and update
the pointer. Hence the indirection. (In C++ you'd
use pass-by-reference, "unsigned char*& pp", which
is easier to understand, but ends up being the same
implementation-wise :)
You might want to find the "cdecl" program:
cdecl> explain unsigned char **pp
declare pp as pointer to pointer to unsigned char
cdecl> declare ppp as pointer to array of pointer to unsigned char
Warning: Unsupported in C -- 'Pointer to array of unspecified dimension'
(maybe you mean "pointer to object")
unsigned char *(*ppp)[]
Pedantically,
/r$
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]