TUN-1052: Changing type of OriginCert to :Data
This commit is contained in:
parent
3079f27205
commit
fc2c7c9718
|
@ -32,7 +32,7 @@ type TunnelRegistration struct {
|
||||||
LogLines []string
|
LogLines []string
|
||||||
PermanentFailure bool
|
PermanentFailure bool
|
||||||
TunnelID string `capnp:"tunnelID"`
|
TunnelID string `capnp:"tunnelID"`
|
||||||
OriginCert string `capnp:"originCert"`
|
OriginCert []byte `capnp:"originCert"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func MarshalTunnelRegistration(s tunnelrpc.TunnelRegistration, p *TunnelRegistration) error {
|
func MarshalTunnelRegistration(s tunnelrpc.TunnelRegistration, p *TunnelRegistration) error {
|
||||||
|
|
|
@ -20,7 +20,7 @@ struct TunnelRegistration {
|
||||||
# Displayed to user
|
# Displayed to user
|
||||||
tunnelID @4 :Text;
|
tunnelID @4 :Text;
|
||||||
# Certificate that authorizes the origin to run tunnels on the given url.
|
# Certificate that authorizes the origin to run tunnels on the given url.
|
||||||
originCert @5 :Text;
|
originCert @5 :Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct RegistrationOptions {
|
struct RegistrationOptions {
|
||||||
|
|
Loading…
Reference in New Issue