From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 27 Oct 2014 11:44:00 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] tlsClient: tls: local invalid x509/rsa certificate Topicbox-Message-UUID: 20bb3ab2-ead9-11e9-9d60-3106f5b1d025 On Mon Oct 27 05:20:04 EDT 2014, 9fans@hamnavoe.com wrote: > > A patch(1) (/n/sources/patch) can't be applied automatically > > without modifying patch/apply. > > Actually it can, thanks to the magic of bind(1): > > cpu% 9fs sources > cpu% PATCH=libsec-x509-sha256rsa > cpu% mkdir -p $home/patch/$PATCH > cpu% bind -bc $home/patch/$PATCH /n/sources/patch/$PATCH > cpu% patch/apply $PATCH > merge...backup...copy... > to update sources: > update /sys/src/libsec/port/x509.c > cpu% ls -l /sys/src/libsec/port/x509.c > --rw-rw-r-- M 9996 sys sys 54387 Oct 27 09:15 /sys/src/libsec/port/x509.c fwiw, 9atom has had this, and serial checking (i think cinap did this). - erik