diff options
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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" |
35 | RCSID("$OpenBSD: key.c,v 1.45 2002/06/23 03:26:19 deraadt Exp $"); | 35 | RCSID("$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 | ||
174 | static u_char* | 174 | static u_char * |
175 | key_fingerprint_raw(Key *k, enum fp_type dgst_type, u_int *dgst_raw_length) | 175 | key_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 | ||
230 | static char* | 230 | static char * |
231 | key_fingerprint_hex(u_char* dgst_raw, u_int dgst_raw_len) | 231 | key_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 | ||
247 | static char* | 247 | static char * |
248 | key_fingerprint_bubblebabble(u_char* dgst_raw, u_int dgst_raw_len) | 248 | key_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 | ||
294 | char* | 294 | char * |
295 | key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) | 295 | key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) |
296 | { | 296 | { |
297 | char *retval = NULL; | 297 | char *retval = NULL; |