#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

  • VANHULLEBUS Yvan

    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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks