From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net Date: Mon, 27 Oct 2014 06:22:24 +0200 From: lucio@proxima.alt.za In-Reply-To: <20141026231946.422eaac5@zinc.9fans.fr> 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: 209485e8-ead9-11e9-9d60-3106f5b1d025 > @@ -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? Lucio. ------------------------------------------------------------------------------------- This email has been scanned by the MxScan Email Security System. -------------------------------------------------------------------------------------