diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-17 09:01:37 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-01-17 09:01:37 +0100 |
commit | 8c95f64d37305cede00de782d8136a0b106048b2 (patch) | |
tree | 4792a0357d38624a2d522c3da68441a2a4264752 /lib/x509 | |
parent | a83ad32e33edd127df7c13149388c836482eb3dd (diff) | |
download | gnutls-8c95f64d37305cede00de782d8136a0b106048b2.tar.gz |
doc update
Diffstat (limited to 'lib/x509')
-rw-r--r-- | lib/x509/key_decode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/x509/key_decode.c b/lib/x509/key_decode.c index 89ca157ed2..a5bae51c0e 100644 --- a/lib/x509/key_decode.c +++ b/lib/x509/key_decode.c @@ -101,9 +101,9 @@ int _gnutls_x509_read_ecc_pubkey(uint8_t * der, int dersize, gnutls_pk_params_st * params) { -/* Eventhough RFC5480 defines the public key to be an ECPoint (i.e. OCTET STRING), - * it is actually copied in raw there. Why do they use ASN.1 anyway? - */ + /* RFC5480 defines the public key to be an ECPoint (i.e. OCTET STRING), + * Then it says that the OCTET STRING _value_ is converted to BIT STRING. + * That means that the value we place there is the raw X9.62 one. */ return _gnutls_ecc_ansi_x963_import(der, dersize, ¶ms->params[ECC_X], ¶ms->params[ECC_Y]); |