"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tls_none.c" between
ircd-hybrid-8.2.27.tgz and ircd-hybrid-8.2.28.tgz

About: IRCD-Hybrid is a Internet Relay Chat server.

tls_none.c  (ircd-hybrid-8.2.27.tgz):tls_none.c  (ircd-hybrid-8.2.28.tgz)
skipping to change at line 26 skipping to change at line 26
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
* USA * USA
*/ */
/*! \file tls_none.c /*! \file tls_none.c
* \brief Dummy file for no TLS support * \brief Dummy file for no TLS support
* \version $Id: tls_none.c 9102 2020-01-01 09:58:57Z michael $ * \version $Id: tls_none.c 9223 2020-01-26 11:35:22Z michael $
*/ */
#include "stdinc.h" #include "stdinc.h"
#include "tls.h" #include "tls.h"
#ifndef HAVE_TLS #ifndef HAVE_TLS
bool bool
tls_is_initialized(void) tls_is_initialized(void)
{ {
return false; return false;
} }
void void
tls_init(void) tls_init(void)
{ {
} }
bool bool
tls_new_cred(void) tls_new_credentials(void)
{ {
return true; return true;
} }
const char * const char *
tls_get_cipher(const tls_data_t *tls_data) tls_get_cipher(const tls_data_t *tls_data)
{ {
return NULL; return NULL;
} }
skipping to change at line 110 skipping to change at line 110
return 0; return 0;
} }
bool bool
tls_set_ciphers(tls_data_t *tls_data, const char *cipher_list) tls_set_ciphers(tls_data_t *tls_data, const char *cipher_list)
{ {
return false; return false;
} }
bool bool
tls_verify_cert(tls_data_t *tls_data, tls_md_t digest, char **fingerprint) tls_verify_certificate(tls_data_t *tls_data, tls_md_t digest, char **fingerprint )
{ {
return false; return false;
} }
#endif /* HAVE_TLS */ #endif /* HAVE_TLS */
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)