aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-16 12:01:01 -0400
committerJack Lloyd <[email protected]>2018-03-16 12:01:01 -0400
commit6c8ffb4d2ee1f762804fc8d6a90a3d1761462503 (patch)
tree2b88c8d5a809cca03f3f66e6c1a053b1b7fa338a /src/lib/pubkey
parentf787047f33d073036883b609d293656510ce8b16 (diff)
Catch exceptions by reference not value
Fixes a new warning in GCC 8
Diffstat (limited to 'src/lib/pubkey')
-rw-r--r--src/lib/pubkey/ec_group/ec_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/ec_group/ec_group.cpp b/src/lib/pubkey/ec_group/ec_group.cpp
index ccf1969d2..50a4d85c7 100644
--- a/src/lib/pubkey/ec_group/ec_group.cpp
+++ b/src/lib/pubkey/ec_group/ec_group.cpp
@@ -319,7 +319,7 @@ EC_Group::EC_Group(const std::string& str)
if(oid.empty() == false)
m_data = ec_group_data().lookup(oid);
}
- catch(Invalid_OID)
+ catch(Invalid_OID&)
{
}