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 dbd8fbd443)
mr4.0.2
nils-ohlmeier 21 years ago committed by Victor Seva
parent 9c6c6317ea
commit 48d2fd282e

@ -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);

Loading…
Cancel
Save