summaryrefslogtreecommitdiffstats
path: root/src/keys.c
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-03-17 10:05:59 +0100
committermilo <milo@r0ot.me>2011-04-14 14:05:44 +0200
commitb308bb9d5233b60f46ff259dd88aa706d55ac11c (patch)
tree041daa43ea2c7d90fa3dc3077fb4119013702a9b /src/keys.c
parentc1f65492f7a5b80cbe76b58ae1f4798f502fad4a (diff)
downloadlibssh-b308bb9d5233b60f46ff259dd88aa706d55ac11c.tar.gz
libssh-b308bb9d5233b60f46ff259dd88aa706d55ac11c.tar.xz
libssh-b308bb9d5233b60f46ff259dd88aa706d55ac11c.zip
[pki] added ssh_pki_do_sign() function
Diffstat (limited to 'src/keys.c')
-rw-r--r--src/keys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keys.c b/src/keys.c
index de6b8f2..e2384e5 100644
--- a/src/keys.c
+++ b/src/keys.c
@@ -729,7 +729,7 @@ error:
}
/* Signature decoding functions */
-static ssh_string signature_to_string(SIGNATURE *sign) {
+ssh_string signature_to_string(SIGNATURE *sign) {
unsigned char buffer[40] = {0};
ssh_buffer tmpbuf = NULL;
ssh_string str = NULL;
@@ -1097,7 +1097,7 @@ void signature_free(SIGNATURE *sign) {
* I think now, maybe it's a bad idea to name it has it should have be
* named in libcrypto
*/
-static ssh_string RSA_do_sign(const unsigned char *payload, int len, RSA *privkey) {
+ssh_string RSA_do_sign(const unsigned char *payload, int len, RSA *privkey) {
ssh_string sign = NULL;
unsigned char *buffer = NULL;
unsigned int size;