diff options
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 10 |
1 files changed, 5 insertions, 5 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.22 2001/03/12 22:02:01 markus Exp $"); | 35 | RCSID("$OpenBSD: key.c,v 1.23 2001/04/05 10:42:50 markus Exp $"); |
36 | 36 | ||
37 | #include <openssl/evp.h> | 37 | #include <openssl/evp.h> |
38 | 38 | ||
@@ -211,7 +211,7 @@ key_fingerprint_raw(Key *k, enum fp_type dgst_type, size_t *dgst_raw_length) | |||
211 | } | 211 | } |
212 | 212 | ||
213 | char* | 213 | char* |
214 | key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len) | 214 | key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len) |
215 | { | 215 | { |
216 | char *retval; | 216 | char *retval; |
217 | int i; | 217 | int i; |
@@ -228,7 +228,7 @@ key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len) | |||
228 | } | 228 | } |
229 | 229 | ||
230 | char* | 230 | char* |
231 | key_fingerprint_bubblebabble(u_char* dgst_raw, size_t dgst_raw_len) | 231 | key_fingerprint_bubblebabble(u_char* dgst_raw, size_t dgst_raw_len) |
232 | { | 232 | { |
233 | char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' }; | 233 | char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' }; |
234 | char consonants[] = { 'b', 'c', 'd', 'f', 'g', 'h', 'k', 'l', 'm', | 234 | char consonants[] = { 'b', 'c', 'd', 'f', 'g', 'h', 'k', 'l', 'm', |
@@ -277,9 +277,9 @@ key_fingerprint_bubblebabble(u_char* dgst_raw, size_t dgst_raw_len) | |||
277 | char* | 277 | char* |
278 | key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) | 278 | key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) |
279 | { | 279 | { |
280 | char *retval = NULL; | 280 | char *retval = NULL; |
281 | u_char *dgst_raw; | 281 | u_char *dgst_raw; |
282 | size_t dgst_raw_len; | 282 | size_t dgst_raw_len; |
283 | 283 | ||
284 | dgst_raw = key_fingerprint_raw(k, dgst_type, &dgst_raw_len); | 284 | dgst_raw = key_fingerprint_raw(k, dgst_type, &dgst_raw_len); |
285 | if (!dgst_raw) | 285 | if (!dgst_raw) |