| From: Michael Richardson <[EMAIL PROTECTED]>
| The problem is that one can't cast a pointer to a "des_key_schedule"
| (as it was defined before) because that is an array type, not a pointer to an
| array.
Without looking closely, I wonder if you can cast a pointer like this?
(des_key_schedule *) ptr
This is legal C (assuming that I've understood your description).
If you need the result to be of the type
pointer-to-type-of-array-element rather than pointer-to-type-of-array,
the correct expression in most contexts, but not in sizeof, would be:
*(des_key_schedule *) ptr
The explanation would take a while.
The same des code is called from pluto/crypto.c. Make sure that any
changes to des work for both uses.
Hugh Redelmeier
[EMAIL PROTECTED] voice: +1 416 482-8253
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]