Skip to content

Commit ae3fe93

Browse files
committed
feat: add another MD2WithRSA oid
1 parent 2d1e0e7 commit ae3fe93

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

schemev1.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ var (
6464
)
6565

6666
var oidToAlgo = map[string]x509.SignatureAlgorithm{
67-
" 1.2.840.113549.1.1.2": x509.MD2WithRSA,
68-
"1.3.14.3.2.24 1.2.840.113549.1.1.2": x509.MD2WithRSA,
67+
" 1.2.840.113549.1.1.2": x509.MD2WithRSA,
68+
"1.3.14.3.2.24 1.2.840.113549.1.1.2": x509.MD2WithRSA,
69+
"1.2.840.113549.2.2 1.2.840.113549.1.1.1": x509.MD2WithRSA,
6970

7071
" 1.2.840.113549.1.1.4": x509.MD5WithRSA,
7172
"1.3.14.3.2.25 1.2.840.113549.1.1.4": x509.MD5WithRSA,

0 commit comments

Comments
 (0)