diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-20 23:46:35 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-02-20 23:48:24 +0100 |
commit | b5dc78ab06d98992b3368ca19857ba6f0f9501db (patch) | |
tree | 2fe70bf3c1f002afd438751ee3e32dcaafc13783 /src/p11tool.c | |
parent | 3a4fee44a0f1823866327924c7b227823eee5d4f (diff) | |
download | gnutls-b5dc78ab06d98992b3368ca19857ba6f0f9501db.tar.gz |
certtool/p11tool: avoid cast to function call
Diffstat (limited to 'src/p11tool.c')
-rw-r--r-- | src/p11tool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p11tool.c b/src/p11tool.c index 3cc830547f..8fbdbd545b 100644 --- a/src/p11tool.c +++ b/src/p11tool.c @@ -215,7 +215,8 @@ static void cmd_parser(int argc, char **argv) } if (HAVE_OPT(CURVE)) { - bits = GNUTLS_CURVE_TO_BITS(str_to_curve(OPT_ARG(CURVE))); + gnutls_ecc_curve_t curve = str_to_curve(OPT_ARG(CURVE)); + bits = GNUTLS_CURVE_TO_BITS(curve); } if (HAVE_OPT(SEC_PARAM)) { |