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:

Compiling...
ncat_connect.c
.\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
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


  By Date           By Thread  

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