[Help-gnutls] Byte order in the Session Cache?

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Apr 22 06:52:52 CEST 2005


On Friday 22 April 2005 02:54, Paul Querna wrote:
> Hello,
>
> 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.

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.


> Thanks,
> -Paul

-- 
Nikos Mavrogiannopoulos





More information about the Gnutls-help mailing list