/*
- * $Id: client_side.cc,v 1.683 2005/03/18 16:06:10 hno Exp $
+ * $Id: client_side.cc,v 1.684 2005/03/19 19:43:39 serassio Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
/* Write out the SSL session details.. actually the call below, but
* OpenSSL headers do strange typecasts confusing GCC.. */
/* PEM_write_SSL_SESSION(debug_log, SSL_get_session(ssl)); */
- PEM_ASN1_write(i2d_SSL_SESSION, PEM_STRING_SSL_SESSION, debug_log, (char *)SSL_get_session(ssl), NULL,NULL,0,NULL,NULL);
+ PEM_ASN1_write((int(*)())i2d_SSL_SESSION, PEM_STRING_SSL_SESSION, debug_log, (char *)SSL_get_session(ssl), NULL,NULL,0,NULL,NULL);
/* Note: This does not automatically fflush the log file.. */
}
/*
- * $Id: external_acl.cc,v 1.60 2005/03/18 17:17:51 hno Exp $
+ * $Id: external_acl.cc,v 1.61 2005/03/19 19:43:39 serassio Exp $
*
* DEBUG: section 82 External ACL
* AUTHOR: Henrik Nordstrom, MARA Systems AB
#if USE_SSL
else if (strcmp(token, "%USER_CERT") == 0)
- format->type = EXT_ACL_USER_CERT_RAW;
+ format->type = _external_acl_format::EXT_ACL_USER_CERT_RAW;
else if (strcmp(token, "%USER_CERTCHAIN") == 0)
- format->type = EXT_ACL_USER_CERTCHAIN_RAW;
+ format->type = _external_acl_format::EXT_ACL_USER_CERTCHAIN_RAW;
else if (strncmp(token, "%USER_CERT_", 11)) {
format->type = _external_acl_format::EXT_ACL_USER_CERT;
format->header = xstrdup(token + 11);
/*
- * $Id: ssl_support.cc,v 1.30 2005/03/18 17:17:51 hno Exp $
+ * $Id: ssl_support.cc,v 1.31 2005/03/19 19:43:39 serassio Exp $
*
* AUTHOR: Benno Rice
* DEBUG: section 83 SSL accelerator support
SSL_CTX_set_options(sslContext, ssl_parse_options(options));
if (context && *context) {
- SSL_CTX_set_session_id_context(sslContext, context, strlen(context));
+ SSL_CTX_set_session_id_context(sslContext, (const unsigned char *)context, strlen(context));
}
if (fl & SSL_FLAG_NO_SESSION_REUSE) {