aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/keypair
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-02-08 21:01:11 +0100
committerDaniel Neus <[email protected]>2016-02-08 21:07:18 +0100
commit4242b7593b5aae2b2d1483fcc7ff002c1deeb956 (patch)
treefcaaab2bf7d050852e90b6694813fdd3b6551786 /src/lib/pubkey/keypair
parent9102d33dbd35e36d385ad813220446384a214030 (diff)
V816 It is more efficient to catch exception by reference rather than by value. asn1_time.cpp 159
Diffstat (limited to 'src/lib/pubkey/keypair')
-rw-r--r--src/lib/pubkey/keypair/keypair.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/keypair/keypair.cpp b/src/lib/pubkey/keypair/keypair.cpp
index ef211ffd4..0f5a48541 100644
--- a/src/lib/pubkey/keypair/keypair.cpp
+++ b/src/lib/pubkey/keypair/keypair.cpp
@@ -59,7 +59,7 @@ bool signature_consistency_check(RandomNumberGenerator& rng,
{
signature = signer.sign_message(message, rng);
}
- catch(Encoding_Error)
+ catch(Encoding_Error&)
{
return false;
}