wireguard: fix error type for crypto backend 43/36943/2
authorBenoît Ganne <bganne@cisco.com>
Thu, 18 Aug 2022 13:03:45 +0000 (15:03 +0200)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 18 Aug 2022 23:16:53 +0000 (23:16 +0000)
commit97d3d54c91097b52bf12324131bdac43aebc8808
treebf93b60b1e61a47f51b49d911796a2d975bdab10
parentfa7441ffc2552529784d15bb4c8450cf164281d6
wireguard: fix error type for crypto backend

Crypto backend errors should not be using the same error as missing
keypair.

Type: fix

Change-Id: I78c2b3df3f08a354463b7824349b08627f2b023c
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/wireguard/wireguard_output_tun.c