summaryrefslogtreecommitdiff
path: root/lib/x509/key_encode.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-09 18:17:34 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-12 10:19:29 +0200
commitba6f25691d5f66f92e99261ca804dd7094f5fc64 (patch)
tree963898a7cdb0721774ee1d129b217fc7cd4eb339 /lib/x509/key_encode.c
parent99625724b0de1d13f9b42c35155f378e18698c3f (diff)
downloadgnutls-ba6f25691d5f66f92e99261ca804dd7094f5fc64.tar.gz
corrected typo in x962 functions
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/key_encode.c')
-rw-r--r--lib/x509/key_encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/key_encode.c b/lib/x509/key_encode.c
index 724f7402d9..af5e5be5a7 100644
--- a/lib/x509/key_encode.c
+++ b/lib/x509/key_encode.c
@@ -118,7 +118,7 @@ _gnutls_x509_write_ecc_pubkey(gnutls_pk_params_st * params,
return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
result =
- _gnutls_ecc_ansi_x963_export(params->flags,
+ _gnutls_ecc_ansi_x962_export(params->flags,
params->params[ECC_X],
params->params[ECC_Y], /*&out */
der);
@@ -620,7 +620,7 @@ _gnutls_asn1_encode_ecc(ASN1_TYPE * c2, gnutls_pk_params_st * params)
return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
ret =
- _gnutls_ecc_ansi_x963_export(params->flags,
+ _gnutls_ecc_ansi_x962_export(params->flags,
params->params[ECC_X],
params->params[ECC_Y], &pubkey);
if (ret < 0)