microsoft's tls implementation (SSPI/Schannel) returns this OID in the certificate on the server hello handshake. Reference: /n/sources/patch/applied/x509-add-oid Date: Tue Sep 28 21:46:57 CES 2010 Signed-off-by: cinap_lenrek@gmx.de --- /sys/src/libsec/port/x509.c Tue Sep 28 21:41:13 2010 +++ /sys/src/libsec/port/x509.c Tue Sep 28 21:41:06 2010 @@ -1581,6 +1581,7 @@ ALG_md4WithRSAEncryption, ALG_md5WithRSAEncryption, ALG_sha1WithRSAEncryption, + ALG_sha1WithRSAEncryptionOiw, ALG_md5, NUMALGS }; @@ -1593,6 +1594,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 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] = { (Ints*)&oid_rsaEncryption, @@ -1600,10 +1602,11 @@ (Ints*)&oid_md4WithRSAEncryption, (Ints*)&oid_md5WithRSAEncryption, (Ints*)&oid_sha1WithRSAEncryption, + (Ints*)&oid_sha1WithRSAEncryptionOiw, (Ints*)&oid_md5, nil }; -static DigestFun digestalg[NUMALGS+1] = { md5, md5, md5, md5, sha1, md5, nil }; +static DigestFun digestalg[NUMALGS+1] = { md5, md5, md5, md5, sha1, sha1, md5, nil }; static void freecert(CertX509* c)