Fix spelling of some NID constants.

This commit is contained in:
Christopher Dudley 2017-12-21 10:38:00 -05:00 committed by Jeff
parent 4dc321d35e
commit 08c83c41f3
2 changed files with 4 additions and 4 deletions

4
key.go
View File

@ -45,11 +45,11 @@ const (
KeyTypeDSA4 = NID_dsaWithSHA1_2
KeyTypeDH = NID_dhKeyAgreement
KeyTypeDHX = NID_dhpublicnumber
KeyTypeEC = NID_x9_62_id_ecPublicKey
KeyTypeEC = NID_X9_62_id_ecPublicKey
KeyTypeHMAC = NID_hmac
KeyTypeCMAC = NID_cmac
KeyTypeTLS1PRF = NID_tls1_prf
KeyTypeHKDF = NID_hdkf
KeyTypeHKDF = NID_hkdf
)
type PublicKey interface {

4
nid.go
View File

@ -197,10 +197,10 @@ const (
NID_ad_OCSP NID = 178
NID_ad_ca_issuers NID = 179
NID_OCSP_sign NID = 180
NID_x9_62_id_ecPublicKey NID = 408
NID_X9_62_id_ecPublicKey NID = 408
NID_hmac NID = 855
NID_cmac NID = 894
NID_dhpublicnumber NID = 920
NID_tls1_prf NID = 1021
NID_hdkf NID = 1036
NID_hkdf NID = 1036
)