openbsd-ports/sysutils/cfengine/patches/patch-src_crypto_c
2005-07-21 15:16:46 +00:00

13 lines
503 B
Plaintext

$OpenBSD: patch-src_crypto_c,v 1.3 2005/07/21 15:16:46 aanriot Exp $
--- src/crypto.c.orig Wed Apr 6 10:53:12 2005
+++ src/crypto.c Fri Jul 15 12:24:01 2005
@@ -294,7 +294,7 @@ snprintf(buffer,CF_BUFSIZE,"%d%d%25s",(i
EVP_DigestUpdate(&context,buffer,CF_BUFSIZE);
-snprintf(pscomm,CF_BUFSIZE,"%s %s",VPSCOMM[VSYSTEMHARDCLASS],VPSOPTS[VSYSTEMHARDCLASS]);
+snprintf(pscomm,CF_MAXLINKSIZE,"%s %s",VPSCOMM[VSYSTEMHARDCLASS],VPSOPTS[VSYSTEMHARDCLASS]);
if ((pp = cfpopen(pscomm,"r")) == NULL)
{