Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2003 12:56:39 -0600
From:      Ade Lovett <ade@lovett.com>
To:        Oliver Lehmann <lehmann@ans-netz.de>, <mit@dreamlabs.com>
Cc:        <ports@freebsd.org>
Subject:   Re: having difficulty ucd-snmp-4.2.6/FreeBSD 4.7-STABLE
Message-ID:  <BA8A5307.2BF99%ade@lovett.com>
In-Reply-To: <20030304194731.7e6f53bf.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/4/03 12:47, "Oliver Lehmann" <lehmann@ans-netz.de> wrote:

> Will Mitayai Keeso Rowe wrote:
> 
>> scapi.c:612: incompatible type for argument 1 of `memset'
>> scapi.c: In function `sc_decrypt':
>> scapi.c:725: incompatible type for argument 1 of `memset'
>> *** Error code 1
> 
> Please send the output of "sysctl kern.osreldate".
> 
> Have you more than one openssl versions installed? For example one under
> /usr/local and the system version located in /usr? please send the output
> of "openssl version" for all the installed versions (/usr/bin/openssl
> version ; /usr/local/bin/openssl version).

This patch appears to fix it for STABLE:

builder 7# more net/net-snmp4/files/patch-snmplib::scapi.c
--- snmplib/scapi.c.orig        Mon Oct  1 09:52:49 2001
+++ snmplib/scapi.c     Sat Feb 15 17:29:20 2003
@@ -611,3 +611,3 @@
        memset(key_struct, 0, sizeof(key_struct));
-       memset(key_sch, 0, sizeof(key_sch));
+       memset(&key_sch, 0, sizeof(key_sch));
        return rval;
@@ -724,3 +724,3 @@
 sc_decrypt_quit:
-       memset(key_sch, 0, sizeof(key_sch));
+       memset(&key_sch, 0, sizeof(key_sch));
        memset(key_struct, 0, sizeof(key_struct));

-aDe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA8A5307.2BF99%ade>