Projects
Kolab:3.4
cyrus-imapd
cyrus-imapd-2.5-openssl-stack.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cyrus-imapd-2.5-openssl-stack.patch of Package cyrus-imapd (Revision 116)
Currently displaying revision
116
,
Show latest
diff --git a/imap/tls.c b/imap/tls.c index 6e6ba63..39361f2 100644 --- a/imap/tls.c +++ b/imap/tls.c @@ -860,7 +860,11 @@ EXPORTED int tls_init_serverengine(const char *ident, } else { STACK_OF(X509_NAME) *CAnames = SSL_load_client_CA_file(client_ca_file); +#if (OPENSSL_VERSION_NUMBER >= 0x1000000fL) if (!CAnames || sk_num((_STACK *)CAnames) < 1) { +#else // (OPENSSL_VERSION_NUMBER >= 0x1000000fL) + if (!CAnames) { +#endif syslog( LOG_ERR, "TLS server engine: No client CA certs specified. Client side certs may not work"
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.