diff keyimport.c @ 848:6c69e7df3621 ecc

curve25519
author Matt Johnston <matt@ucc.asn.au>
date Fri, 08 Nov 2013 23:11:43 +0800
parents 774ad9b112ef
children 754d7bee1068
line wrap: on
line diff
--- a/keyimport.c	Fri Nov 01 00:21:59 2013 +0800
+++ b/keyimport.c	Fri Nov 08 23:11:43 2013 +0800
@@ -1018,7 +1018,7 @@
 		}
 		*/
 		buffer *seq_buf = buf_new(400);
-		ecc_key **eck = signkey_ecc_key_ptr(key, key->type);
+		ecc_key **eck = (ecc_key**)signkey_key_ptr(key, key->type);
 		const unsigned long curve_size = (*eck)->dp->size;
 		int curve_oid_len = 0;
 		const void* curve_oid = NULL;