diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2017-08-19 17:16:13 +0200 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2017-08-19 17:16:13 +0200 |
commit | 63300b49f30b3d63a551d4d568ae95fea24035ba (patch) | |
tree | f0cbad938d5ecac73806a7d9a5ae25268086fb31 /ecc.h | |
parent | 2eb1f9f6e588a675226bfefb379156378b065422 (diff) | |
download | dropbear-63300b49f30b3d63a551d4d568ae95fea24035ba.tar.gz |
Pointer parameter could be declared as pointing to const
Diffstat (limited to 'ecc.h')
-rw-r--r-- | ecc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ void buf_put_ecc_raw_pubkey_string(buffer *buf, ecc_key *key); ecc_key * buf_get_ecc_raw_pubkey(buffer *buf, const struct dropbear_ecc_curve *curve); int buf_get_ecc_privkey_string(buffer *buf, ecc_key *key); -mp_int * dropbear_ecc_shared_secret(ecc_key *pub_key, ecc_key *priv_key); +mp_int * dropbear_ecc_shared_secret(ecc_key *pub_key, const ecc_key *priv_key); #endif |