From f0d95bac5d76c4b8bdaad4abefa63e3e8e5ad9c3 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Wed, 3 Mar 2010 15:47:29 -0500 Subject: Can't call SEC_PrintCertificateAndTrust. --- stap-client-connect.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'stap-client-connect.c') diff --git a/stap-client-connect.c b/stap-client-connect.c index 4a68b437..0cce123c 100644 --- a/stap-client-connect.c +++ b/stap-client-connect.c @@ -119,12 +119,7 @@ badCertHandler(void *arg, PRFileDesc *sslSocket) { /* The server's certificate is not trusted. Should we trust it? */ if (trustNewServer_p == NULL) - { - /* Don't trust the cert, but print information about it. */ - SEC_PrintCertificateAndTrust(serverCert, "Certificate", - serverCert->trust); - return SECFailure; /* Do not trust this server */ - } + return SECFailure; /* Do not trust this server */ /* Trust it for this session only? */ if (strcmp (trustNewServer_p, "session") == 0) -- cgit