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


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to