From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 27 Oct 2014 11:45:31 -0400 To: 9fans@9fans.net Message-ID: <8048141c1d8c264e97d7de78d70c4507@ladd.quanstro.net> 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: 20c42a5a-ead9-11e9-9d60-3106f5b1d025 On Mon Oct 27 00:22:36 EDT 2014, lucio@proxima.alt.za wrote: > > @@ -1594,6 +1595,7 @@ > > static Ints7 oid_md4WithRSAEncryption = {7, 1, 2, 840, 113549, 1, 1, 3 }; > > static Ints7 oid_md5WithRSAEncryption = {7, 1, 2, 840, 113549, 1, 1, 4 }; > > static Ints7 oid_sha1WithRSAEncryption ={7, 1, 2, 840, 113549, 1, 1, 5 }; > > +static Ints7 sha256WithRSAEncryption ={7, 1, 2, 840, 113549, 1, 1, 11 }; > > static Ints7 oid_sha1WithRSAEncryptionOiw ={6, 1, 3, 14, 3, 2, 29 }; > > static Ints7 oid_md5 ={6, 1, 2, 840, 113549, 2, 5, 0 }; > > static Ints *alg_oid_tab[NUMALGS+1] = { > > @@ -1602,6 +1604,7 @@ > > (Ints*)&oid_md4WithRSAEncryption, > > (Ints*)&oid_md5WithRSAEncryption, > > (Ints*)&oid_sha1WithRSAEncryption, > > + (Ints*)&sha256WithRSAEncryption, > > (Ints*)&oid_sha1WithRSAEncryptionOiw, > > (Ints*)&oid_md5, > > nil > > The existing identifiers are prefixed with "oid_"; is there a reason > for leaving the prefix out? you make a good point. - erik