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
|
||||
PermanentFailure bool
|
||||
TunnelID string `capnp:"tunnelID"`
|
||||
OriginCert string `capnp:"originCert"`
|
||||
OriginCert []byte `capnp:"originCert"`
|
||||
}
|
||||
|
||||
func MarshalTunnelRegistration(s tunnelrpc.TunnelRegistration, p *TunnelRegistration) error {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue