Files @ 6f8cd4bc658e
Branch filter:

Location: libtransport.git/include/Swiften/TLS/Schannel/SchannelServerContextFactory.cpp

Vitaly Takmazov
libpurple: server mode doesn't require registration, closes #158
/*
 * Copyright (c) 2011 Soren Dreijer
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#include "Swiften/TLS/Schannel/SchannelServerContextFactory.h"
#include "Swiften/TLS/Schannel/SchannelServerContext.h"

namespace Swift {

bool SchannelServerContextFactory::canCreate() const {
	return true;
}

TLSServerContext* SchannelServerContextFactory::createTLSServerContext() {
	return new SchannelServerContext();
}

}