summaryrefslogtreecommitdiff
path: root/lib/x509/key_decode.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-04 10:21:06 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-04 13:48:01 +0200
commit556465c1039b498d8f47ef7943b6a4df40e199d4 (patch)
treeab7e9a0bc6a6f3f75ea0cab60507d335bad385e0 /lib/x509/key_decode.c
parent0416d1f94f36b703de46fa00e465b2bac24063ea (diff)
downloadgnutls-556465c1039b498d8f47ef7943b6a4df40e199d4.tar.gz
x509/output: print error on invalid public key parameters on certificate
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/key_decode.c')
-rw-r--r--lib/x509/key_decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509/key_decode.c b/lib/x509/key_decode.c
index fa65ba14fe..08d352c6f8 100644
--- a/lib/x509/key_decode.c
+++ b/lib/x509/key_decode.c
@@ -424,6 +424,7 @@ int _gnutls_x509_read_pubkey(gnutls_pk_algorithm_t algo, uint8_t * der,
ret = _gnutls_x509_read_eddsa_pubkey(der, dersize, params);
break;
default:
+fprintf(stderr, "pk: %d\n", algo);
ret = gnutls_assert_val(GNUTLS_E_UNIMPLEMENTED_FEATURE);
break;
}