From: Nikos Mavrogiannopoulos Date: Wed, 2 Jun 2004 08:11:43 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: gnutls_1_1_11~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ba158f3dce2af5b7c2dca35cde4234aac8be224;p=thirdparty%2Fgnutls.git *** empty log message *** --- diff --git a/doc/TODO b/doc/TODO index d9988a9734..82acfa7068 100644 --- a/doc/TODO +++ b/doc/TODO @@ -3,6 +3,9 @@ anything), contact the developer's mailing list (gnutls-dev@lists.gnupg.org), in order to avoid having people working on the same thing. Current list: +* Make the current ciphering code a bit more abstract to + allow easy integration with TLS hardware. +* Allow verifying of certificates on their reception. * Verify added CRLs * Document the format for the supported DN attributes. * Add support for Certificate Extensions Profile for Qualified diff --git a/lib/gnutls_pk.c b/lib/gnutls_pk.c index 241ebd0c80..ffcff5dc9d 100644 --- a/lib/gnutls_pk.c +++ b/lib/gnutls_pk.c @@ -57,7 +57,7 @@ int _gnutls_pkcs1_rsa_encrypt(gnutls_datum * ciphertext, size_t k, psize; size_t mod_bits; - mod_bits = _gnutls_mpi_get_nbits(params[0]); + mod_bits = _gnutls_mpi_get_nbits(params[0]); k = mod_bits / 8; if ( mod_bits % 8 != 0) k++;