mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user