Fix NID definitions to match OpenSSL. The previous numbers were introduced incorrectly in #213
This commit is contained in:
parent
26bc75cdef
commit
1d214bce61
|
|
@ -37,6 +37,7 @@ pub enum Nid {
|
|||
DES_EDE,
|
||||
DES_EDE3,
|
||||
IDEA_CBC,
|
||||
IDEA_CFB,
|
||||
IDEA_ECB,
|
||||
RC2_CBC,
|
||||
RC2_ECB,
|
||||
|
|
@ -55,6 +56,7 @@ pub enum Nid {
|
|||
MessageDigest,
|
||||
SigningTime,
|
||||
CounterSignature,
|
||||
ChallengePassword,
|
||||
UnstructuredAddress,
|
||||
ExtendedCertificateAttributes,
|
||||
Netscape,
|
||||
|
|
@ -93,6 +95,7 @@ pub enum Nid {
|
|||
AuthorityKeyIdentifier,
|
||||
BF_CBC,
|
||||
BF_ECB,
|
||||
BF_CFB,
|
||||
BF_OFB,
|
||||
MDC2,
|
||||
RSA_MDC2,
|
||||
|
|
@ -117,7 +120,8 @@ pub enum Nid {
|
|||
RSA_SHA1_2,
|
||||
DSA,
|
||||
RIPEMD160,
|
||||
RSA_RIPEMD160,
|
||||
/* 118 missing */
|
||||
RSA_RIPEMD160=119,
|
||||
RC5_CBC,
|
||||
RC5_ECB,
|
||||
RC5_CFB,
|
||||
|
|
@ -142,7 +146,6 @@ pub enum Nid {
|
|||
CRLReason,
|
||||
InvalidityDate,
|
||||
SXNetID,
|
||||
Pkcs12,
|
||||
PBE_SHA1_RC4_128,
|
||||
PBE_SHA1_RC4_40,
|
||||
PBE_SHA1_3DES,
|
||||
|
|
|
|||
Loading…
Reference in New Issue