Edit

IABSD.fr/ports/sysutils/cfengine/patches/patch-src_crypto_c

Branch :

  • Show log

    Commit

  • Author : sturm
    Date : 2007-10-12 20:12:18
    Hash : f6bb42b4
    Message : update to cfengine 2.2.1 simplify port drastically by removing str* patches, these might be revived one day as an external patch no objections from maintainer

  • sysutils/cfengine/patches/patch-src_crypto_c
  • $OpenBSD: patch-src_crypto_c,v 1.4 2007/10/12 20:12:19 sturm Exp $
    --- src/crypto.c.orig	Mon Jul 10 13:53:47 2006
    +++ src/crypto.c	Sun Sep  2 15:44:05 2007
    @@ -294,7 +294,7 @@ snprintf(buffer,CF_BUFSIZE,"%d%d%25s",(int)CFSTARTTIME
     
     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)
        {