Skip to content

Commit b18672a

Browse files
committed
fix typo
1 parent 53686c9 commit b18672a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

keys/crypto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func newNebulaX25519KeypairPEM() ([]byte, []byte, error) {
156156
if err != nil {
157157
return nil, nil, err
158158
}
159-
pubkey, privkey = cert.MarshalPublicKeyToPEM(cert.Curve_CURVE25519, pubkey), cert.MarshalPrivateKeyToPEM(cert.Curve_P256, privkey)
159+
pubkey, privkey = cert.MarshalPublicKeyToPEM(cert.Curve_CURVE25519, pubkey), cert.MarshalPrivateKeyToPEM(cert.Curve_CURVE25519, privkey)
160160

161161
return pubkey, privkey, nil
162162
}

0 commit comments

Comments
 (0)