diff options
author | Werner Koch <[email protected]> | 2000-01-24 21:14:42 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2000-01-24 21:14:42 +0000 |
commit | db43afc923f32d39d06c20c1d4fb698cbad0897c (patch) | |
tree | 9acd52a1070205f7aa290374045092e3b64e1a94 /g10/misc.c | |
parent | Add files to new directory. (diff) | |
download | gnupg-db43afc923f32d39d06c20c1d4fb698cbad0897c.tar.gz gnupg-db43afc923f32d39d06c20c1d4fb698cbad0897c.zip |
See ChangeLog: Mon Jan 24 22:24:38 CET 2000 Werner Koch
Diffstat (limited to 'g10/misc.c')
-rw-r--r-- | g10/misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c index 1c311a6c0..d3c01f4ef 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -178,7 +178,7 @@ mpi_read(IOBUF inp, unsigned int *ret_nread, int secure) /**************** * Same as mpi_read but the value is stored as an opaque MPI. - * This function is used to read encrpted MPI of v3 packets. + * This function is used to read encrypted MPI of v3 packets. */ GCRY_MPI mpi_read_opaque(IOBUF inp, unsigned *ret_nread ) @@ -205,7 +205,6 @@ mpi_read_opaque(IOBUF inp, unsigned *ret_nread ) p = buf; for( i=0 ; i < nbytes; i++ ) { p[i] = iobuf_get(inp) & 0xff; - nread++; } nread += nbytes; a = gcry_mpi_set_opaque(NULL, buf, nbits ); |