error with msencrypt
Nicol Hermann
mapserver at GEOWORLD.DE
Tue Jun 5 09:12:42 EDT 2007
Daniel,
yes i am on a 64bit system. I applied the patch and the creation works
fine now.
I have one addition question.
You enclosed the generated string in { ... }.
Is this necessary? When i include the string in that way i get an
connection error. I also include the following line.
$Map -> SetConfigOption('MS_ENCRYPTION_KEY', '/tmp/mykey.txt');
Anything else i have to consider?
Thanks a lot for your help and your fast reply.
Nicol
Am Dienstag, den 05.06.2007, 07:36 -0400 schrieb Daniel Morissette:
> Nicol Hermann wrote:
> >
> > msencrypt: mapcrypto.c:331: msEncryptStringWithKey: Assertion
> > `sizeof(unsigned long) == 4' failed.
> >
> > Do you have any idea what is going wrong?
> > I tried the latest stable version 4.10.2 .
>
> Are you on a 64 bits system? If yes then there is a fix for this in the
> dev version, see http://trac.osgeo.org/mapserver/ticket/1928
>
> I was not planning to backport this to 4.10 to avoid causing any
> unexpected side-effect, but if really necessary the fix could be backported.
>
> Daniel
More information about the mapserver-dev
mailing list