aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-17 12:00:20 -0400
committerJack Lloyd <[email protected]>2017-09-17 12:00:20 -0400
commit6a5fec1cca542ee4c0dfa716dfc38e08df701e5c (patch)
tree02456b3b1d4daf73f5ffa943f4ac440cff84ae85 /src/lib
parentc41d23a077668785b76fc8b9fc74db501eb0e018 (diff)
Avoid int vs size_t warning in OpenSSL code
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prov/openssl/openssl_ec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prov/openssl/openssl_ec.cpp b/src/lib/prov/openssl/openssl_ec.cpp
index 4e68258ef..4d26661ac 100644
--- a/src/lib/prov/openssl/openssl_ec.cpp
+++ b/src/lib/prov/openssl/openssl_ec.cpp
@@ -74,7 +74,7 @@ int OpenSSL_EC_curve_builtin(int nid)
return -1;
}
- for(int i=0; i < num; ++i)
+ for(size_t i = 0; i < num; ++i)
{
if(builtin_curves[i].nid == nid)
{