This commit is contained in:
Vincent Richard 2013-09-23 13:34:15 +02:00
commit c406d45147
2 changed files with 3 additions and 3 deletions

View File

@ -292,11 +292,11 @@ static std::ostream& operator<<(std::ostream& os, const vmime::exception& e)
* @param s structure object
* @param level current depth
*/
static void printStructure(vmime::ref <const vmime::net::structure> s, const int level = 0)
static void printStructure(vmime::ref <const vmime::net::messageStructure> s, const int level = 0)
{
for (int i = 0 ; i < s->getPartCount() ; ++i)
{
vmime::ref <const vmime::net::part> part = s->getPartAt(i);
vmime::ref <const vmime::net::messagePart> part = s->getPartAt(i);
for (int j = 0 ; j < level * 2 ; ++j)
std::cout << " ";

View File

@ -152,7 +152,7 @@ TLSSession_GnuTLS::TLSSession_GnuTLS(ref <security::cert::certificateVerifier> c
// Sets some default priority on the ciphers, key exchange methods,
// macs and compression methods.
#if VMIME_HAVE_GNUTLS_PRIORITY_FUNCS
#ifdef VMIME_HAVE_GNUTLS_PRIORITY_FUNCS
gnutls_dh_set_prime_bits(*m_gnutlsSession, 128);
if ((res = gnutls_priority_set_direct