[Help-gnutls] Byte order in the Session Cache?
chip at outoforder.cc
Fri Apr 22 07:01:25 CEST 2005
Nikos Mavrogiannopoulos wrote:
>On Friday 22 April 2005 02:54, Paul Querna wrote:
>>In mod_gnutls, I have support for a distributed session cache via
>>memcached. This means I could have mod_gnutls running on a PPC, sharing
>>the SSL Session cache with an x86 machine.
>>Is the session data stored in a format that can be shared between
>>different architectures safely? (eg Big and Little Endian)
>Not really. That is because whole structures are copied with memcpy.
>This means that even the same architecture but different gnutls
>version may also be incompatible.
Ah. Thats too bad.
>It is not difficult for this to be implemented though (all the code is in
>gnutls_session_pack.c), but currently there is no such work planned.
Cool. Maybe in the next couple weeks I will take a swing at a patch.
More information about the Gnutls-help