lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] Re: SSL certificate validation support *broken* in 2.8.7dev.7


From: Thorsten Glaser
Subject: [Lynx-dev] Re: SSL certificate validation support *broken* in 2.8.7dev.7
Date: Mon, 13 Aug 2007 13:36:07 +0000 (UTC)

Dixi:

>• the check is bogus
>
>- X509_verify_cert_error_string(X509_STORE_CTX_get_error(X509_STORE_CTX *0))
>fails.
>+ X509_verify_cert_error_string(X509_STORE_CTX_get_error(NULL))
>succeeds.

It gets worse:

/tmp//ccq32398.o: In function `main':
conftest.c:(.text+0x6): undefined reference to `X509_STORE_CTX_get_error'
conftest.c:(.text+0xe): undefined reference to `X509_verify_cert_error_string'
collect2: ld returned 1 exit status

So you need to link in -lcrypto to do that.

bye,
//mirabilos
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]