Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#22 eay_get_x509subjectaltname return 0.0.0.0

closed-fixed
nobody
None
5
2004-12-28
2004-12-28
Anonymous
No

I use SSH-Sentinel VPN Client to connect racoon,
when racoon daemon received peer certfication, it
checked the cert_id and call
eay_get_x509subjectaltname(), but it return "0.0.0.0",
so check_certid always return false;

I debuged the function code in racoon/crypto_openssl.c,
and I think the code in line 692 maybe wrong:

i2d_ASN1_OCTET_STRING(gen->d.ip,&ip);

this call always made ip to be 0000

I replaced this line with

ip = gen->d.ip->data;

now it works ok;

my openssl version is 0.9.7e

Discussion

  • Logged In: YES
    user_id=105392

    Fixed on the CVS, don't known how to close this bug entry.

     
  • Michal Ludvig
    Michal Ludvig
    2004-12-28

    • status: open --> closed
     
  • Michal Ludvig
    Michal Ludvig
    2004-12-28

    • status: closed --> closed-fixed