TUN-1052: Changing type of OriginCert to :Data

This commit is contained in:
Adam Chalmers 2018-09-28 14:21:13 -05:00 committed by Areg Harutyunyan
parent 3079f27205
commit fc2c7c9718
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ type TunnelRegistration struct {
LogLines []string
PermanentFailure bool
TunnelID string `capnp:"tunnelID"`
OriginCert string `capnp:"originCert"`
OriginCert []byte `capnp:"originCert"`
}
func MarshalTunnelRegistration(s tunnelrpc.TunnelRegistration, p *TunnelRegistration) error {

View File

@ -20,7 +20,7 @@ struct TunnelRegistration {
# Displayed to user
tunnelID @4 :Text;
# Certificate that authorizes the origin to run tunnels on the given url.
originCert @5 :Text;
originCert @5 :Data;
}
struct RegistrationOptions {