summaryrefslogtreecommitdiff
path: root/lib/x509/key_encode.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-06-06 18:39:18 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-06-06 18:41:23 +0200
commitff22daeca37be4c3c62e7095649243cb8d7a8454 (patch)
tree539ac8bda1a598230d520b1deb38694e4d2e80ce /lib/x509/key_encode.c
parente7d0806b33e19a088bbd05dc031b1b8e2446a39b (diff)
downloadgnutls-ff22daeca37be4c3c62e7095649243cb8d7a8454.tar.gz
lib: eliminated the use of deprecated variables
Diffstat (limited to 'lib/x509/key_encode.c')
-rw-r--r--lib/x509/key_encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/key_encode.c b/lib/x509/key_encode.c
index 8ebc9fabc7..7df1026635 100644
--- a/lib/x509/key_encode.c
+++ b/lib/x509/key_encode.c
@@ -497,7 +497,7 @@ _gnutls_asn1_encode_ecc(ASN1_TYPE * c2, gnutls_pk_params_st * params)
{
int ret;
uint8_t one = '\x01';
- gnutls_datum pubkey = { NULL, 0 };
+ gnutls_datum_t pubkey = { NULL, 0 };
const char *oid;
oid = gnutls_ecc_curve_get_oid(params->flags);