--Yylu36WmvOXNoKYn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all!

I've recently been put in charge of SSL, and I'm working my way through the=
O'Reilly book.

However, I'm a bit stumped as to this problem.

I tried to upgrade our build system to use OpenSSL 0.9.8g, and thought I su=
cceeded.

However, the code is blowing up. The code is for caching sessions, and it =
is roughly as follows:

var =3D PEM_read_SSL_SESSION(session_file, NULL, NULL, const_cast(g=
et_password_chars()));

The compiler message is as follows:

=2E.. passing `char * (*)()' as argument 1 of `PEM_ASN1_read(void * (*)(voi=
d **, const unsigned char **, long int), const char *, FILE *, void **, int=
(*)(char *, int, int, void *), void *)'

Well, clear as mud, right? Looks like this is how the former calls PEM_ASN=
1_read:

#define PEM_read_SSL_SESSION(fp,x,cb,u) (SSL_SESSION *)PEM_ASN1_read( \
(char *(*)())d2i_SSL_SESSION,PEM_STRING_SSL_SESSION,fp,( char **)x,cb,u)

I don't see that I have any control over the first argument of PEM_ASN1_rea=
d,
nor do tweaking the various arguments affect anything. I'm beginning to th=
ink
that I've got something including an older version of the openssl headers, =
which
may well happen if they #include a file which no longer exists in 0.9.8g, s=
ince
the older OpenSSL revs will be on the include path.

Does anyone have any insight into this?
--=20

The stream is deaf, yet sings its melody for all to hear.
For a good time on my email blacklist, email john@subspacefield.org.

--Yylu36WmvOXNoKYn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (OpenBSD)

iQIVAwUBR45UxWQVZZEDJt9HAQKBkQ/+Pqqzfd6ycky0cFupO+zDOueNgo0dA3hN
UM3guppogf5f732iFOlrq6I8xLEUu9BfFCNK5XCuHwOA5KV2jf PLJF749YXfmiYc
kO5iNhY2Obn5XlfnLW2y/w/Q6xeUmlGSq3NpiNMHpkPQvjBK37ax/uUJuOyLkdIi
e3R17ZLoaVDl7kJTW0drrps4IDEX77kN7r/IYnEyCAZThBYssOfmRYSHTitfDmaD
WmWKHjCNnEhVk8qnEbo2gKTR2uF4PHprh9KJ5NKl7xucK+csvO rmxZNhJROVj22l
l8yDjUpfBOW5kotvQQFkwhk5lQns0lUbiIlOfMhoCOWJIFrKd4 isrsS5o1a1P+U/
W6pTe3BKsHUFouONIHAbSUBq+APKWSslcHOkNdR7bVVH+AqqIW FP3BpUO5CB7TQH
3NDHL3ih7lCSXurqxFytPBRFZy7TileTJuhiEeEzbiMBse/3xN5rfomkOf0VyObn
qqNIFy8Q4WByfCSp8OnPLdt5tl0Hkeh5EADF5xSNIUefLY3eIW wTlo9Kiel8QC0g
yakezkd1kSU/7oOQcmX/vs+qm6V5TVvuIgQAKKXigv3+Hfev0oSDX4HBSxbTspu5
/8T/TGdW6A3Z1VCobKmthX6De4/VYgdogEgluRLnnMjmjDmVY1zutnY4hDxheTZu
5/DmCeI+Fzc=
=bz9t
-----END PGP SIGNATURE-----

--Yylu36WmvOXNoKYn--
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org