From b308bb9d5233b60f46ff259dd88aa706d55ac11c Mon Sep 17 00:00:00 2001 From: milo Date: Thu, 17 Mar 2011 10:05:59 +0100 Subject: [pki] added ssh_pki_do_sign() function --- src/keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/keys.c') diff --git a/src/keys.c b/src/keys.c index de6b8f2d..e2384e5d 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; -- cgit