Hi everybody,

I'm a telecommunication modules manufacturer. I embedded openssl
library into my modules but I meet some difficulties to implement a
customer's request.
It's about the X509 ip address extension (RFC3779). My customer wants
that my module check the IP Address contained in the certificat. I have
to compare this IP address to the certificate owner (a server) to be
sure that I'm speaking to the right server.

But ... I didn't find any documentation about the new RFC3779
implementation in openssl0.9.8e. I tried to read the source code, but i
didn't find any function that let me read X509 specific extension. So
please, let me know a method to read it, and compare with an IP address.

For instance, I'm able to read the extension as IPAddrBlocks format. But
i don't know what to do with it. I just find the function
v3_addr_get_range(), which, I think, can return in these argument my IP
address. But it takes a IPAddressOrRange* in argument. How to convert a
IPAddrBlocks into a IPAddressOrRange ?

In advance, Thank you for your help.

Best regards,

Guillaume MARTIN
Telecom-Design France
R&D engineer

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to