zero tmpkeyiv in openssl enc

2019-07-23 Thread Steven Roberts
Hi, This patch for openssl enc will zero out tmpkeyiv which contains key information. Thanks. Index: enc.c === RCS file: /cvs/src/usr.bin/openssl/enc.c,v retrieving revision 1.21 diff -u -p -u -r1.21 enc.c --- enc.c 14 Jul 201

FreeBSD tabs(1) ported to OpenBSD

2018-05-28 Thread Steven Rutter
I was frustrated with not being able to adjust my tab width in the terminal (and in ed as a result) so I ported the FreeBSD version of tabs to OpenBSD. Just thought I would share because it seems odd that it is not in OpenBSD. -Steven Rutter tabs.tar.gz Description: GNU Zip compressed data

ext2fs: Validate file size when lengthening

2017-05-27 Thread Steven McDonald
Hi there, ext2fs currently has #if 0 around the size check for lengthening a file. This allows ftruncate(2) calls for very large files to succeed, but result in a smaller file than was requested. I noticed the problem while trying to create vmd(8) images on an ext2fs filesystem. Below is a patch

Use correct libressl version in pkg-config

2017-04-17 Thread Steven McDonald
The pkg-config files for libcrypto and libssl claim to be version 1.0.0. This was noticed on the openvpn-devel mailing list when they started requiring OpenSSL 1.0.1 or newer: https://sourceforge.net/p/openvpn/mailman/message/35785095/ While I don't think their approach of testing specific vers

Re: start building clang alongside gcc on amd64

2017-04-17 Thread Steven McDonald
On Mon, 17 Apr 2017 09:20:21 +0200 (CEST) Mark Kettenis wrote: > These instructions may not be 100% accurate yet ;). I also had to build libcxx before doing a full build: # cd /usr/src/lib/libcxx # make obj # make depend # make includes # make # make install

chachatest.c patch

2017-03-18 Thread Steven Roberts
See attached. chachatest.patch Description: Binary data

chachatest.c patch

2017-03-18 Thread Steven Roberts
TC3 contained the data for TC4. TC4 contained incorrect data. Moved the data from TC3 into TC4. Generated correct data for TC3. Index: chachatest.c === RCS file: /cvs/src/regress/lib/libcrypto/chacha/chachatest.c,v retrieving revisio

cert.pem: Re-add mistakenly removed GlobalSign R2

2016-12-13 Thread Steven McDonald
It looks like revision 1.10 of cert.pem (which was intended only to sort the contents of the file) accidentally removed the GlobalSign R2 CA -- probably because it has the same CN as the R3 CA. The CN is used as a hash key in the script used for sorting (https://spacehopper.org/format-pem.20160201)

Re: tunefs(8): Fix handling of device names

2015-08-29 Thread Steven McDonald
On Sat, 29 Aug 2015 21:48:34 +1000 Steven McDonald wrote: > Index: lib/libutil/opendev.c > === > RCS file: /cvs/src/lib/libutil/opendev.c,v > retrieving revision 1.15 > diff -u -p -r1.15 opendev.c > --- lib/libuti

Re: tunefs(8): Fix handling of device names

2015-08-29 Thread Steven McDonald
Same diff, corrected formatting. Sorry for the noise. Index: lib/libutil/opendev.3 === RCS file: /cvs/src/lib/libutil/opendev.3,v retrieving revision 1.22 diff -u -p -r1.22 opendev.3 --- lib/libutil/opendev.3 15 Jan 2015 19:06:3

Re: opendev(3): Do not mask errno

2015-08-29 Thread Steven McDonald
Same diff, corrected formatting. Sorry for the noise. Index: lib/libutil/opendev.c === RCS file: /cvs/src/lib/libutil/opendev.c,v retrieving revision 1.15 diff -u -p -r1.15 opendev.c --- lib/libutil/opendev.c 30 Jun 2011 15:04:5

Re: Using tame() in userland

2015-08-29 Thread Steven McDonald
Sorry, my terminal seems to be mangling tabs into spaces. Here's a properly copypasted diff: Index: bin/chmod/chmod.c === RCS file: /cvs/src/bin/chmod/chmod.c,v retrieving revision 1.34 diff -u -p -r1.34 chmod.c --- bin/chmod/chmod.c

Re: Using tame() in userland

2015-08-29 Thread Steven McDonald
Hi Theo, I think chmod fits in the "cannot be tamed" category. tame(2) says of chmod(2) and friends: Setuid/setgid bits do not work, nor can the user or group be changed on a file. This breaks 'chmod u+s'. It might be possible to tame only if it looks like a mode is being set which is al

Re: tunefs(8): Fix handling of device names

2015-08-24 Thread Steven McDonald
On Sun, 23 Aug 2015 19:45:17 +1000 Steven McDonald wrote: > fd = opendev(name, flags, 0, devicep); > if (fd == -1 && errno == ENOENT) > - devicep = &name; > + *devicep = name; I'm actually wondering if opendev(3) itself s

Re: tunefs(8): Fix handling of device names

2015-08-23 Thread Steven McDonald
On Sun, 23 Aug 2015 19:21:42 +1000 Steven McDonald wrote: > Also, section 6.9.1 clause 9 of C99[0] says that "each parameter has > automatic storage duration", so I think it's not safe to rely on a > function parameter still being a valid object outside of openpartition

tunefs(8): Fix handling of device names

2015-08-23 Thread Steven McDonald
The openpartition function in tunefs(8) will currently set devicep, a char** passed in from main, to the path it attempted to opendev(3). This doesn't actually work as intended; it should be setting the value devicep points to instead of devicep itself. Also, section 6.9.1 clause 9 of C99[0] says

opendev(3): Do not mask errno

2015-08-23 Thread Steven McDonald
Hi, Below is a diff to avoid masking errno from DIOCMAP in opendev(3). The intention of the existing code appears to be to try using path as a device name rather than a DUID in case of failure, but as far as I can tell, this is only desirable if DIOCMAP returns ENOENT anyway. Other kinds of error

faq/current.html: Mention sudo removal

2015-07-03 Thread Steven McDonald
Hi, Here's a patch for current.html telling users how to handle the sudo removal from base. Index: faq/current.html === RCS file: /cvs/www/faq/current.html,v retrieving revision 1.614 diff -u -p -r1.614 current.html --- faq/current.h

Re: mg(1) segfault

2015-04-04 Thread Steven McDonald
On Sat, 4 Apr 2015 15:23:45 -0300 Gleydson Soares wrote: > but we shouldn't change macrodef here. Regardless of whether macrodef is being changed, you're still returning if macrodef is true, so there is no way for it to be true at the point where you're adding a test for it.

Re: Fix includes in sys/ddb/db_variables.c

2015-03-13 Thread Steven McDonald
On Sat, 14 Mar 2015 01:49:22 -0400 "Ted Unangst" wrote: > Thanks. I restored the systm.h include instead. It's rare for C files > to include libkern headers directly. I think systm.h remains the > correct header for strcmp. Thanks for the clarification. I was going by the SYNOPSIS section of ker

Fix includes in sys/ddb/db_variables.c

2015-03-13 Thread Steven McDonald
The recent change to db_variables.c to not include sys/systm.h revealed a missing include that breaks kernel builds on macppc (and possibly other arches). The problem is that db_variables.c makes use of strcmp(9), which requires lib/libkern/libkern.h, and that was being included via systm.h. This

Re: Miscellaneous LibreSSL portability fixes

2014-07-17 Thread Steven Chamberlain
or consideration. Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org

Re: Miscellaneous LibreSSL portability fixes

2014-07-16 Thread Steven Chamberlain
getentropy need not be compiled, although beware the arc4random implementation in libbsd 0.6.0 is outdated and not currently very safe to use for this[2]. [0]: https://bugs.debian.org/754513#10 [1]: http://libbsd.freedesktop.org/wiki/ [2]: https://bugs.debian.org/754513#186 Regards, -- Steven Chamberlain ste...@pyro.eu.org

Re: new OpenSSL flaws

2014-06-09 Thread Steven Chamberlain
Alexander, I'd like to thank you for taking the time to answer Theo's questions, the further advice you've given here, for your patience and the work that you do overall. Regards, -- Steven Chamberlain ste...@pyro.eu.org

[PATCH] typo introduced in libssl/src/crypto/ec/ecp_nistp521.c

2014-05-09 Thread Steven Chamberlain
, .field_mul = ec_GFp_nist_field_mul, .field_sqr = ec_GFp_nist_field_sqr }; But otherwise, thanks for the good work! Regards, -- Steven Chamberlain ste...@pyro.eu.org

Re: ral rt2661 tx interrupt race fix

2012-08-03 Thread Steven Chamberlain
s seeing, so thank you for that! Regards, -- Steven Chamberlain ste...@pyro.eu.org

Re: fix ral (and maybe other cards) hostap mode

2012-01-20 Thread Steven Chamberlain
c_opmode == IEEE80211_M_HOSTAP && + ni->ni_state >= IEEE80211_STA_AUTH && + ni->ni_state != IEEE80211_STA_COLLECT) { splx(s); IEEE80211_SEND_MGMT(ic, ni, IEEE80211_FC0_SUBTYPE_DEAUTH, IEEE80211_REASON_AUTH_EXPIRE); s = splnet(); ieee80211_node_leave(ic, ni); } else #endif ieee80211_free_node(ic, ni); ic->ic_stats.is_node_timeout++; -- Steven Chamberlain ste...@pyro.eu.org

Re: fix ral (and maybe other cards) hostap mode

2012-01-16 Thread Steven Chamberlain
ACHE_SIZE from its default of 100 in ieee80211_node.h reduces how often the problem occurs, but is not in any way a sensible fix. When debugging the issue it would probably help to lower that value drastically so it is easier to trigger it. Regards, -- Steven Chamberlain ste...@pyro.eu.org

Re: aucat cleanup diff to test

2011-10-10 Thread Steven
Playing mp3/oggs in two different instances of mplayer, video in smplayer, cd with cdio cdplay and a video on YT using FF/Gnash. Additionally playing Diskworld on Scummvm. No audible issues. Every thing's working. Amd64 -current. -- W. Steven Schneider

Re: enable aucat by default

2011-10-10 Thread Steven
* David Coppa [111010 08:15]: On Mon, Oct 10, 2011 at 4:07 PM, Steven wrote: YT video skips a bit, but that may just be due to Gnash overhead and possibly download speed. Everything else works smoothly using the start by default settings. It's gnash for sure ;-) I don't know

Re: enable aucat by default

2011-10-10 Thread Steven
* Steven [111010 08:15]: Playing two folders of music in mplayer, watching a video on youtube in Firefox/Gnash, watching a video on smplayer and listening to a cd using cdio cdplay. YT video skips a bit, but that may just be due to Gnash overhead and possibly download speed. Everything else

Re: enable aucat by default

2011-10-10 Thread Steven
start by default settings. -- W. Steven Schneider

Re: system/6586: rdist (file larger than 2GB) times out but will not die -- Testers needed

2011-04-09 Thread Steven R. Gerber
386 and amd64, in both directions. Please continue this. Testing on alpha would be especially welcomed. Thanks to everyone in advance. Steven client.c I did check into the comparison at line 689. Basically, it is ASSUMED that link fi

system/6586: rdist (file larger than 2GB) times out but will not die -- Testers needed

2011-04-07 Thread Steven R. Gerber
386 and amd64, in both directions. Please continue this. Testing on alpha would be especially welcomed. Thanks to everyone in advance. Steven client.c I did check into the comparison at line 689. Basically, it is ASSUMED that link fi

Upgrade i386 to amd64

2011-04-06 Thread Steven R. Gerber
Ran the upgrade from CD. Want to be sure that packages are OK. Is "pkg_add -u" sufficient? (It looks like nothing changed.) Thanks, Steven

Re: rdist times out but will not die

2011-03-23 Thread Steven R. Gerber
On 3/20/2011 2:07 PM, Steven R. Gerber wrote: > I want to do local/remote mirror/backup (or should that be local-mirror > / offsite-backup). > So a two-part question: > 1.Even if there is a timeout, shouldn't the

rdist times out but will not die

2011-03-20 Thread Steven R. Gerber
I want to do local/remote mirror/backup (or should that be local-mirror / offsite-backup). So a two-part question: 1. Even if there is a timeout, shouldn't the job/process exit? ** rdist@thedump: thedump: /mnt/mirror2/

Re: Failure to boot i386/amd64 GENERIC+rd kernel on 4.8

2011-03-08 Thread Steven Small
Hi, Could you tell the world what the solution of your problem was? thx! Steven.

Re: OpenBSD 4.8 RAID 0+1 or 1+0 or 5

2011-02-16 Thread Steven R. Gerber
On 2/16/2011 10:50 AM, Joel Sing wrote: > On Wednesday 16 February 2011, Steven R. Gerber wrote: >> Sorry for cross posting? >> I am trying to setup a decent RAID (0+1 or 1+0 or 5) and there SEEMS to >> be no approved method. (4 disks -- I usually like stripe on top of >

Re: OpenBSD 4.8 RAID 0+1 or 1+0 or 5

2011-02-15 Thread Steven R. Gerber
On 2/15/2011 5:52 PM, Marco Peereboom wrote: > it isn't supported so don't do it. it is in the pipeline to do stacked > raid sets but it is all talk for now. > > On Tue, Feb 15, 2011 at 02:45:13PM -0500, Steven R. Gerber wrote: >> Sorry for cross posting? >> I a

OpenBSD 4.8 RAID 0+1 or 1+0 or 5

2011-02-15 Thread Steven R. Gerber
scsibus5 detached sd9 detached scsibus4 detached softraid0: not part of the same volume softraid0: can't attach metadata type 0 Thanks, Steven

Re: RFC: changes to ports infrastructure

2010-08-19 Thread Steven Mestdagh
Marc Espie [2010-08-19, 11:55:22]: > I want to tweak the directory structure for ports. > I'd like to go for a lot of stuff to > > ports/infrastructure/bin > ports/infrastructure/lib > ports/infrastructure/man > > the current setup (build, fetch, install, package) is my mistake, and > frankly it

Re: Thank you for making p2k9 possible!

2009-10-15 Thread Steven Mestdagh
Robert Nagy [2009-10-11, 16:56:00]: > Hello > > p2k9 (the ports hackathon in Budapest) is on since Friday. People > are working on different things like GNOME, GCC4, BluRay support or > even ACPI. > > I would like to thank everyone who donated money to the project because > the individual donors