Imported Upstream version 1.4.16+git20130911

This commit is contained in:
Jan Wagner 2013-11-27 00:00:34 +01:00
parent 96678a79c9
commit ea90af2ba1
20 changed files with 379 additions and 383 deletions

View file

@ -27,7 +27,6 @@
*****************************************************************************/
#define MAX_CN_LENGTH 256
#define LOCAL_TIMEOUT_ALARM_HANDLER
#include "common.h"
#include "netutils.h"
@ -49,7 +48,7 @@ int np_net_ssl_init_with_hostname_and_version(int sd, char *host_name, int versi
}
int np_net_ssl_init_with_hostname_version_and_cert(int sd, char *host_name, int version, char *cert, char *privkey) {
const SSL_METHOD *method = NULL;
SSL_METHOD *method = NULL;
switch (version) {
case 0: /* Deafult to auto negotiation */