From 2b0b18c0ba2fa61564c8493b3c2ea6d565308521 Mon Sep 17 00:00:00 2001 From: John Aughey Date: Sun, 19 Jan 2025 21:06:10 -0600 Subject: [PATCH] Adding clone to errors --- boringtun/src/noise/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boringtun/src/noise/errors.rs b/boringtun/src/noise/errors.rs index 10513aef..db7cf728 100644 --- a/boringtun/src/noise/errors.rs +++ b/boringtun/src/noise/errors.rs @@ -1,7 +1,7 @@ // Copyright (c) 2019 Cloudflare, Inc. All rights reserved. // SPDX-License-Identifier: BSD-3-Clause -#[derive(Debug)] +#[derive(Debug, Clone)] pub enum WireGuardError { DestinationBufferTooSmall, IncorrectPacketLength,