Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: 'SSL_get_peer_certificate' : cannot convert param from 'nsock_ssl' to 'const SSL *'
From: David Fifield <david () bamsoftware com>
Date: Tue, 2 Jun 2009 21:48:09 -0600

On Wed, Jun 03, 2009 at 04:43:51AM +0100, jah wrote:
Hi folks,

Got the following error building ncat on windows:

.\ncat_connect.c(110) : error C2664: 'SSL_get_peer_certificate' : cannot
convert parameter 1 from 'nsock_ssl' to 'const SSL *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast

The attached just casts the parameter to SSL_get_peer_certificate() to SSL*

Thanks, my fault again. Please commit it.

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]