openbsd-ports/mail/archiveopteryx/patches/patch-server_tlsthread_cpp
landry f69d285399 Import archiveopteryx 3.1.3:
Archiveopteryx is a mail server system optimised for long-term storage
and heavy access. It comprises a set of server programs that provide
access to mail stored in a relational database (PostgreSQL).

With feedback from ajacoutot@ and JG Pailloncy, reads ok to ajacoutot@
2011-01-09 09:36:21 +00:00

14 lines
627 B
Plaintext

$OpenBSD: patch-server_tlsthread_cpp,v 1.1.1.1 2011/01/09 09:36:21 landry Exp $
--- server/tlsthread.cpp.orig Fri Apr 9 23:48:32 2010
+++ server/tlsthread.cpp Fri Apr 9 23:48:55 2010
@@ -95,8 +95,7 @@ void TlsThread::setup()
EString keyFile( Configuration::text( Configuration::TlsCertFile ) );
if ( keyFile.isEmpty() ) {
- keyFile = Configuration::compiledIn( Configuration::LibDir );
- keyFile.append( "/automatic-key.pem" );
+ keyFile = "/etc/ssl/archiveopteryx.pem";
}
keyFile = File::chrooted( keyFile );
if ( !SSL_CTX_use_certificate_chain_file( ctx, keyFile.cstr() ) ||