Skip to content

Commit da966c7

Browse files
committed
Revert "Use current Ed25519 OID for decoding too"
This reverts commit a150eaf.
1 parent 1098634 commit da966c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/net/i2p/crypto/eddsa/EdDSAPrivateKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private static byte[] decode(byte[] d) throws InvalidKeySpecException {
158158
d[idx++] != 3 ||
159159
d[idx++] != (1 * 40) + 3 ||
160160
d[idx++] != 101 ||
161-
d[idx++] != 112 ||
161+
d[idx++] != 100 ||
162162
d[idx++] != 0x0a ||
163163
d[idx++] != 1 ||
164164
d[idx++] != 1 ||

src/net/i2p/crypto/eddsa/EdDSAPublicKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private static byte[] decode(byte[] d) throws InvalidKeySpecException {
131131
d[idx++] != 3 ||
132132
d[idx++] != (1 * 40) + 3 ||
133133
d[idx++] != 101 ||
134-
d[idx++] != 112 ||
134+
d[idx++] != 100 ||
135135
d[idx++] != 0x0a ||
136136
d[idx++] != 1 ||
137137
d[idx++] != 1 ||

0 commit comments

Comments
 (0)