9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: Re: [9fans] tlsClient: tls: local invalid x509/rsa certificate
Date: Mon, 27 Oct 2014 06:22:24 +0200	[thread overview]
Message-ID: <fc59773ae72b74e5bf1cab06fdf895e0@proxima.alt.za> (raw)
In-Reply-To: <20141026231946.422eaac5@zinc.9fans.fr>

> @@ -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.
-------------------------------------------------------------------------------------



  parent reply	other threads:[~2014-10-27  4:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 21:04 Ryan Gonzalez
2014-10-26 22:19 ` David du Colombier
2014-10-26 22:30   ` David du Colombier
2014-10-26 22:36     ` Ryan Gonzalez
2014-10-26 22:39       ` David du Colombier
2014-10-26 22:52       ` David du Colombier
2014-10-27  9:19         ` Richard Miller
2014-10-27 15:44           ` erik quanstrom
2014-10-27 23:34         ` Ryan Gonzalez
2014-10-27  4:22   ` lucio [this message]
2014-10-27  6:24     ` David du Colombier
2014-10-27  7:33       ` lucio
2014-10-27 15:45     ` erik quanstrom
2014-10-27 15:50       ` lucio
2014-10-27  4:23   ` lucio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc59773ae72b74e5bf1cab06fdf895e0@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).