From 051715c97265ad438e5a48223eadfa08a26e776b Mon Sep 17 00:00:00 2001 From: Matt Martin Date: Fri, 17 May 2019 10:19:23 -0500 Subject: [PATCH] Add mapping from algo OID to x509 SignatureAlgorithm for DSAWithSHA1 --- oid/oid.go | 1 + 1 file changed, 1 insertion(+) diff --git a/oid/oid.go b/oid/oid.go index b281392..134dfd1 100644 --- a/oid/oid.go +++ b/oid/oid.go @@ -121,6 +121,7 @@ var SignatureAlgorithmToX509SignatureAlgorithm = map[string]x509.SignatureAlgori SignatureAlgorithmECDSAWithSHA256.String(): x509.ECDSAWithSHA256, SignatureAlgorithmECDSAWithSHA384.String(): x509.ECDSAWithSHA384, SignatureAlgorithmECDSAWithSHA512.String(): x509.ECDSAWithSHA512, + SignatureAlgorithmDSAWithSHA1.String(): x509.DSAWithSHA1, } // X509PublicKeyAlgorithmToPKIXAlgorithmIdentifier maps certificate public key