mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-05 21:00:33 +09:00
Create a ssh_get_hexa function.
This function converts a buffer into a colon separated hex string. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@308 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -231,7 +231,8 @@ void *string_data(STRING *str);
|
||||
void string_free(STRING *str);
|
||||
|
||||
/* useful for debug */
|
||||
void ssh_print_hexa(char *descr, const unsigned char *what, int len);
|
||||
char *ssh_get_hexa(const unsigned char *what, size_t len);
|
||||
void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len);
|
||||
int ssh_get_random(void *where,int len,int strong);
|
||||
|
||||
/* this one can be called by the client to see the hash of the public key before accepting it */
|
||||
|
||||
Reference in New Issue
Block a user