From f1adf8b86e072e22353e0481d96d13f627c364b4 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 27 Dec 2017 21:47:40 +0100 Subject: [PATCH] Rename crypt.c -> openssl.c. The old name made sense back when we had only one crypto backend. These days paraslash can be compiled against either openssl or gcrypt, so the new name makes it clear that the file is only compiled in if the openssl library was selected as the crypto backend. --- command.c | 2 +- configure.ac | 6 +++--- crypt.c => openssl.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename crypt.c => openssl.c (98%) diff --git a/command.c b/command.c index cba2afb4..203fd47b 100644 --- a/command.c +++ b/command.c @@ -876,7 +876,7 @@ static int run_command(struct command_context *cc, struct iovec *iov) * the function if the connection was not authenticated when the timeout * expires. * - * \sa alarm(2), \ref crypt.c, \ref crypt.h. + * \sa alarm(2), \ref openssl.c, \ref crypt.h. */ __noreturn void handle_connect(int fd) { diff --git a/configure.ac b/configure.ac index 499571a7..9493f8e3 100644 --- a/configure.ac +++ b/configure.ac @@ -394,7 +394,7 @@ if test -n "$CRYPTOLIB" && test $HAVE_OSL = yes && test -n "$BISON" && \ version " if test "$CRYPTOLIB" = openssl; then - server_errlist_objs="$server_errlist_objs crypt" + server_errlist_objs="$server_errlist_objs openssl" else server_errlist_objs="$server_errlist_objs gcrypt" fi @@ -432,7 +432,7 @@ if test -n "$CRYPTOLIB"; then version " if test "$CRYPTOLIB" = openssl; then - client_errlist_objs="$client_errlist_objs crypt" + client_errlist_objs="$client_errlist_objs openssl" else client_errlist_objs="$client_errlist_objs gcrypt" fi @@ -488,7 +488,7 @@ if test -n "$CRYPTOLIB"; then sync_filter " if test "$CRYPTOLIB" = openssl; then - audiod_errlist_objs="$audiod_errlist_objs crypt" + audiod_errlist_objs="$audiod_errlist_objs openssl" else audiod_errlist_objs="$audiod_errlist_objs gcrypt" fi diff --git a/crypt.c b/openssl.c similarity index 98% rename from crypt.c rename to openssl.c index b8a587cd..f786ce29 100644 --- a/crypt.c +++ b/openssl.c @@ -1,6 +1,6 @@ /* Copyright (C) 2005 Andre Noll , see file COPYING. */ -/** \file crypt.c Openssl-based encryption/decryption routines. */ +/** \file openssl.c Openssl-based encryption/decryption routines. */ #include #include -- 2.39.5