diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-09-17 13:47:00 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2016-01-19 11:31:07 +0100 |
commit | 310c41a89a91a44b4e63c19bc2f35e8b2d28827d (patch) | |
tree | 368360549dc5e96429886c63e96c0f676bfc6b99 /src/gcrypt_missing.c | |
parent | 1102ea4c5551d0aa55e8f4cdd2a82741e8b16aad (diff) | |
download | libssh-310c41a89a91a44b4e63c19bc2f35e8b2d28827d.tar.gz libssh-310c41a89a91a44b4e63c19bc2f35e8b2d28827d.tar.xz libssh-310c41a89a91a44b4e63c19bc2f35e8b2d28827d.zip |
cleanup: use ssh_ prefix in the gcrypt missing functions
Having "ssh_" prefix in the functions' name will avoid possible clashes
when compiling libssh statically.
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/gcrypt_missing.c')
-rw-r--r-- | src/gcrypt_missing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gcrypt_missing.c b/src/gcrypt_missing.c index b21e5f30..e07843b8 100644 --- a/src/gcrypt_missing.c +++ b/src/gcrypt_missing.c @@ -27,7 +27,7 @@ #include "libssh/libgcrypt.h" #ifdef HAVE_LIBGCRYPT -int my_gcry_dec2bn(bignum *bn, const char *data) { +int ssh_gcry_dec2bn(bignum *bn, const char *data) { int count; *bn = bignum_new(); @@ -43,7 +43,7 @@ int my_gcry_dec2bn(bignum *bn, const char *data) { return count; } -char *my_gcry_bn2dec(bignum bn) { +char *ssh_gcry_bn2dec(bignum bn) { bignum bndup, num, ten; char *ret; int count, count2; |