From 6cf1d7f0a66cb1089a4cec788125bb3d0557a451 Mon Sep 17 00:00:00 2001 From: nils-ohlmeier Date: Thu, 11 May 2006 22:17:48 +0000 Subject: [PATCH] s/strncopy/strncpy/ git-svn-id: http://svn.berlios.de/svnroot/repos/sipsak/trunk@403 75b5f7c7-cfd4-0310-b54c-e118b2c5249a (cherry picked from commit 9cc053011c3dc7b49a36b3ad01ac433346b5b714) (cherry picked from commit dbd8fbd4432b2893991796cbee1d46f2de440d41) --- auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.c b/auth.c index c1c2cd0..71c5bfc 100644 --- a/auth.c +++ b/auth.c @@ -300,7 +300,7 @@ void insert_auth(char *message, char *authreq) #ifdef HAVE_OPENSSL_SHA1 else if (algo == SIPSAK_ALGO_SHA1) { if (authhash) { - strncopy(ha1_hex, authhash, SIPSAK_HASHHEXLEN_SHA1); + strncpy(ha1_hex, authhash, SIPSAK_HASHHEXLEN_SHA1); } else { SHA1_Init(&Sha1Ctx);