Update generated binapi to v22.02 & makefile changes
[govpp.git] / internal / testbinapi / binapi2001 / tls_openssl / tls_openssl_rpc.ba.go
index 2575bf2..57ef26d 100644 (file)
@@ -4,10 +4,11 @@ package tls_openssl
 
 import (
        "context"
+
        api "git.fd.io/govpp.git/api"
 )
 
-// RPCService defines RPC service  tls_openssl.
+// RPCService defines RPC service tls_openssl.
 type RPCService interface {
        TLSOpensslSetEngine(ctx context.Context, in *TLSOpensslSetEngine) (*TLSOpensslSetEngineReply, error)
 }
@@ -26,5 +27,5 @@ func (c *serviceClient) TLSOpensslSetEngine(ctx context.Context, in *TLSOpensslS
        if err != nil {
                return nil, err
        }
-       return out, nil
+       return out, api.RetvalToVPPApiError(out.Retval)
 }