@@ -18,8 +18,8 @@ func TestEccNITSP256(t *testing.T) {
18
18
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
19
19
}
20
20
i := oid .ToItem (true )
21
- if i .Name != "ECC OID" {
22
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
21
+ if i .Name != "ECC Curve OID" {
22
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
23
23
}
24
24
if i .Value != note {
25
25
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -42,8 +42,8 @@ func TestEccNITSP384(t *testing.T) {
42
42
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
43
43
}
44
44
i := oid .ToItem (true )
45
- if i .Name != "ECC OID" {
46
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
45
+ if i .Name != "ECC Curve OID" {
46
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
47
47
}
48
48
if i .Value != note {
49
49
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -66,8 +66,8 @@ func TestEccNITSP521(t *testing.T) {
66
66
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
67
67
}
68
68
i := oid .ToItem (true )
69
- if i .Name != "ECC OID" {
70
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
69
+ if i .Name != "ECC Curve OID" {
70
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
71
71
}
72
72
if i .Value != note {
73
73
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -90,8 +90,8 @@ func TestEccSecp256k1(t *testing.T) {
90
90
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
91
91
}
92
92
i := oid .ToItem (true )
93
- if i .Name != "ECC OID" {
94
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
93
+ if i .Name != "ECC Curve OID" {
94
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
95
95
}
96
96
if i .Value != note {
97
97
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -114,8 +114,8 @@ func TestEccBrainpoolP256r1(t *testing.T) {
114
114
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
115
115
}
116
116
i := oid .ToItem (true )
117
- if i .Name != "ECC OID" {
118
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
117
+ if i .Name != "ECC Curve OID" {
118
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC0 Curve OID\" ." , i .Name )
119
119
}
120
120
if i .Value != note {
121
121
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -138,8 +138,8 @@ func TestEccBrainpoolP384r1(t *testing.T) {
138
138
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
139
139
}
140
140
i := oid .ToItem (true )
141
- if i .Name != "ECC OID" {
142
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
141
+ if i .Name != "ECC Curve OID" {
142
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
143
143
}
144
144
if i .Value != note {
145
145
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -162,8 +162,8 @@ func TestEccBrainpoolP512r1(t *testing.T) {
162
162
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
163
163
}
164
164
i := oid .ToItem (true )
165
- if i .Name != "ECC OID" {
166
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
165
+ if i .Name != "ECC Curve OID" {
166
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
167
167
}
168
168
if i .Value != note {
169
169
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -186,8 +186,8 @@ func TestEccEd25519(t *testing.T) {
186
186
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
187
187
}
188
188
i := oid .ToItem (true )
189
- if i .Name != "ECC OID" {
190
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
189
+ if i .Name != "ECC Curve OID" {
190
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
191
191
}
192
192
if i .Value != note {
193
193
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -210,8 +210,8 @@ func TestEccCurve25519(t *testing.T) {
210
210
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
211
211
}
212
212
i := oid .ToItem (true )
213
- if i .Name != "ECC OID" {
214
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
213
+ if i .Name != "ECC Curve OID" {
214
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
215
215
}
216
216
if i .Value != note {
217
217
t .Errorf ("OID.Value = \" %v\" , want \" %s\" " , i .Value , note )
@@ -234,8 +234,8 @@ func TestEccUnknown(t *testing.T) {
234
234
t .Errorf ("OID = \" %v\" , want nil." , err .Error ())
235
235
}
236
236
i := oid .ToItem (true )
237
- if i .Name != "ECC OID" {
238
- t .Errorf ("OID.Name = \" %v\" , want \" ECC OID\" ." , i .Name )
237
+ if i .Name != "ECC Curve OID" {
238
+ t .Errorf ("OID.Name = \" %v\" , want \" ECC Curve OID\" ." , i .Name )
239
239
}
240
240
if i .Value != note {
241
241
t .Errorf ("OID.Note = \" %v\" , want \" %s\" " , i .Value , note )
0 commit comments