>The difference is that des_cblock is defined through a typedef.

This is correct explanation.

>  In such a case, you have built a new type

This is the wrong reason.

Typedef does not introduce a new type, only synonyms for types that could be
declared another way. (K&R2nd p 221). However "const" and "volatile" are
"type qualifiers", which can appear with a type specifier such as a typedef
name (opcit 210).  This is the "right thing"
        typedef .... foo;
        const foo* pcf;
It is confusing becuase here it does seem like typedef is introducing a new
type.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to