summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
Diffstat (limited to 'key.c')
-rw-r--r--key.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/key.c b/key.c
index e01f2cc4e..8623fd305 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.22 2001/03/12 22:02:01 markus Exp $"); 35RCSID("$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
213char* 213char*
214key_fingerprint_hex(u_char* dgst_raw, size_t dgst_raw_len) 214key_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
230char* 230char*
231key_fingerprint_bubblebabble(u_char* dgst_raw, size_t dgst_raw_len) 231key_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)
277char* 277char*
278key_fingerprint(Key *k, enum fp_type dgst_type, enum fp_rep dgst_rep) 278key_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)