libfreerdp-core: remove unused crypto_cert_verify function to avoid confusion

This commit is contained in:
Marc-André Moreau 2012-01-06 20:51:20 -05:00
parent a3df68a3a3
commit f1c12c4eba
2 changed files with 0 additions and 6 deletions

View File

@ -152,11 +152,6 @@ void crypto_cert_free(CryptoCert cert)
xfree(cert); xfree(cert);
} }
boolean crypto_cert_verify(CryptoCert server_cert, CryptoCert cacert)
{
return true; /* FIXME: do the actual verification */
}
boolean crypto_cert_get_public_key(CryptoCert cert, rdpBlob* public_key) boolean crypto_cert_get_public_key(CryptoCert cert, rdpBlob* public_key)
{ {
uint8* p; uint8* p;

View File

@ -115,7 +115,6 @@ char* crypto_cert_issuer(X509* xcert);
void crypto_cert_print_info(X509* xcert); void crypto_cert_print_info(X509* xcert);
void crypto_cert_free(CryptoCert cert); void crypto_cert_free(CryptoCert cert);
boolean x509_verify_cert(CryptoCert cert, rdpSettings* settings); boolean x509_verify_cert(CryptoCert cert, rdpSettings* settings);
boolean crypto_cert_verify(CryptoCert server_cert, CryptoCert cacert);
rdpCertData* crypto_get_cert_data(X509* xcert, char* hostname); rdpCertData* crypto_get_cert_data(X509* xcert, char* hostname);
boolean crypto_cert_get_public_key(CryptoCert cert, rdpBlob* public_key); boolean crypto_cert_get_public_key(CryptoCert cert, rdpBlob* public_key);