summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'key.c')
-rw-r--r--key.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/key.c b/key.c
index fb1f8410a..718cd16c0 100644
--- a/key.c
+++ b/key.c
@@ -32,7 +32,7 @@
32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */ 33 */
34#include "includes.h" 34#include "includes.h"
35RCSID("$OpenBSD: key.c,v 1.45 2002/06/23 03:26:19 deraadt Exp $"); 35RCSID("$OpenBSD: key.c,v 1.46 2002/06/30 21:59:45 deraadt Exp $");
36 36
37#include <openssl/evp.h> 37#include <openssl/evp.h>
38 38
@@ -171,7 +171,7 @@ key_equal(Key *a, Key *b)
171 return 0; 171 return 0;
172} 172}
173 173
174static u_char* 174static u_char *
175key_fingerprint_raw(Key *k, enum fp_type dgst_type, u_int *dgst_raw_length) 175key_fingerprint_raw(Key *k, enum fp_type dgst_type, u_int *dgst_raw_length)
176{ 176{
177 const EVP_MD *md = NULL; 177 const EVP_MD *md = NULL;
@@ -227,8 +227,8 @@ key_fingerprint_raw(Key *k, enum fp_type dgst_type, u_int *dgst_raw_length)
227 return retval; 227 return retval;
228} 228}
229 229
230static char* 230static char *
231key_fingerprint_hex(u_char* dgst_raw, u_int dgst_raw_len) 231key_fingerprint_hex(u_char *dgst_raw, u_int dgst_raw_len)
232{ 232{
233 char *retval; 233 char *retval;
234 int i; 234 int i;
@@ -244,8 +244,8 @@ key_fingerprint_hex(u_char* dgst_raw, u_int dgst_raw_len)
244 return retval; 244 return retval;
245} 245}
246 246
247static char* 247static char *
248key_fingerprint_bubblebabble(u_char* dgst_raw, u_int dgst_raw_len) 248key_fingerprint_bubblebabble(u_char *dgst_raw, u_int dgst_raw_len)
249{ 249{
250 char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' }; 250 char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' };
251 char consonants[] = { 'b', 'c', 'd', 'f', 'g', 'h', 'k', 'l', 'm', 251 char consonants[] = { 'b', 'c', 'd', 'f', 'g', 'h', 'k', 'l', 'm',
@@ -291,7 +291,7 @@ key_fingerprint_bubblebabble(u_char* dgst_raw, u_int dgst_raw_len)
291 return retval; 291 return retval;
292} 292}
293 293
294char* 294char *
295key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) 295key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep)
296{ 296{
297 char *retval = NULL; 297 char *retval = NULL;