diff options
author | Jack Lloyd <[email protected]> | 2019-11-25 09:51:42 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-11-25 09:51:42 -0500 |
commit | 62912522daa1ca140a04f3cbe3c4f9f59911dcdb (patch) | |
tree | c06df1fca3cf6bcaa4223b3ebb10298139f87fac | |
parent | e6f10d14a2ca4f58f507ee6d7e2ec6e3f16cb4c8 (diff) |
Fix unreachable code
Flagged by Coverity.
-rw-r--r-- | src/lib/pubkey/xmss/xmss_privatekey.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/pubkey/xmss/xmss_privatekey.h b/src/lib/pubkey/xmss/xmss_privatekey.h index 301fef04b..06378fdd0 100644 --- a/src/lib/pubkey/xmss/xmss_privatekey.h +++ b/src/lib/pubkey/xmss/xmss_privatekey.h @@ -203,7 +203,6 @@ class BOTAN_PUBLIC_API(2,0) XMSS_PrivateKey final : public virtual XMSS_PublicKe secure_vector<uint8_t> private_key_bits() const override { return DER_Encoder().encode(raw_private_key(), OCTET_STRING).get_contents(); - return raw_private_key(); } size_t size() const override |