mirror of
https://github.com/libp2p/go-openssl.git
synced 2025-01-29 05:10:10 +08:00
Fix spelling of some NID constants.
This commit is contained in:
parent
4dc321d35e
commit
08c83c41f3
4
key.go
4
key.go
@ -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
4
nid.go
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user