mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-05 14:13:30 -04:00
fix up elg crypto parts
This commit is contained in:
@ -21,7 +21,7 @@ func TestElg(t *testing.T) {
|
||||
if err == nil {
|
||||
emsg, err := enc.Encrypt(msg)
|
||||
if err == nil {
|
||||
dec, err := ElgamelDecrypt(k, emsg, true)
|
||||
dec, err := elgamalDecrypt(k, emsg, true)
|
||||
if err == nil {
|
||||
if ! bytes.Equal(dec, msg) {
|
||||
t.Logf("%q != %q", dec, msg)
|
||||
|
Reference in New Issue
Block a user