diff options
author | Andrey Jivsov <[email protected]> | 2011-01-06 23:44:01 +0000 |
---|---|---|
committer | Andrey Jivsov <[email protected]> | 2011-01-06 23:44:01 +0000 |
commit | ded546b4b5cc2caafa654d94ac8f69a23960427e (patch) | |
tree | 0671667ec43ff7fcd09fd50a0034dff8d236276f | |
parent | Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 . (diff) | |
download | gnupg-ded546b4b5cc2caafa654d94ac8f69a23960427e.tar.gz gnupg-ded546b4b5cc2caafa654d94ac8f69a23960427e.zip |
Milestone: Data signing/verification and key signing/verification work with ECDSA.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | g10/parse-packet.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 12545e260..575c1ec08 100644 --- a/configure.ac +++ b/configure.ac @@ -1466,7 +1466,7 @@ AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization], [disable compiler optimization]), [if test $enableval = no ; then - CFLAGS=`echo $CFLAGS | sed s%-O[[1-9]]%-O0\ %g` + CFLAGS=`echo $CFLAGS | sed s/-O[[1-9]]\ /-O0\ /g` fi]) # diff --git a/g10/parse-packet.c b/g10/parse-packet.c index 42d680ac5..d43ab2cba 100644 --- a/g10/parse-packet.c +++ b/g10/parse-packet.c @@ -967,7 +967,7 @@ parse_pubkeyenc (IOBUF inp, int pkttype, unsigned long pktlen, es_fprintf (listfp, "\tdata: "); mpi_print(listfp, k->data[0], mpi_print_mode ); es_putc ('\n', listfp); - es_fprintf (listfp, "\tdata: [% 3d bytes] ", encr_buf[0]); + es_fprintf (listfp, "\tdata: [% 3d bytes] ", encr_buf[0]+1); mpi_print(listfp, k->data[1], mpi_print_mode ); es_putc ('\n', listfp); } |