X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fopenssl%2Fdigest.c;h=ff350daa8953d4180e75edfbe09ebbd8045a7ccd;hb=d6c50eb73ad49bd2eac67214995dff76b7a20661;hp=e1db9341ad354d76871f9d0a1971ee63136467c2;hpb=075e6828a7533e7daa790225f17aa6bb39703278;p=tinc diff --git a/src/openssl/digest.c b/src/openssl/digest.c index e1db9341..ff350daa 100644 --- a/src/openssl/digest.c +++ b/src/openssl/digest.c @@ -12,11 +12,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - $Id$ + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "system.h" @@ -39,7 +37,7 @@ bool digest_open_by_name(digest_t *digest, const char *name, int maclength) { digest->digest = EVP_get_digestbyname(name); if(!digest->digest) { - logger(LOG_DEBUG, _("Unknown digest name '%s'!"), name); + logger(LOG_DEBUG, "Unknown digest name '%s'!", name); return false; } @@ -51,7 +49,7 @@ bool digest_open_by_nid(digest_t *digest, int nid, int maclength) { digest->digest = EVP_get_digestbynid(nid); if(!digest->digest) { - logger(LOG_DEBUG, _("Unknown digest nid %d!"), nid); + logger(LOG_DEBUG, "Unknown digest nid %d!", nid); return false; } @@ -78,7 +76,7 @@ bool digest_create(digest_t *digest, const void *indata, size_t inlen, void *out if(!EVP_DigestInit(&ctx, digest->digest) || !EVP_DigestUpdate(&ctx, indata, inlen) || !EVP_DigestFinal(&ctx, tmpdata, NULL)) { - logger(LOG_DEBUG, _("Error creating digest: %s"), ERR_error_string(ERR_get_error(), NULL)); + logger(LOG_DEBUG, "Error creating digest: %s", ERR_error_string(ERR_get_error(), NULL)); return false; }