Milestone: Data signing/verification and key signing/verification work with ECDSA.
authorAndrey Jivsov <openpgp@brainhub.org>
Thu, 6 Jan 2011 23:44:01 +0000 (15:44 -0800)
committerAndrey Jivsov <openpgp@brainhub.org>
Thu, 6 Jan 2011 23:44:01 +0000 (15:44 -0800)
configure.ac
g10/parse-packet.c

index 12545e2..575c1ec 100644 (file)
@@ -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])
 
 #
index 42d680a..d43ab2c 100644 (file)
@@ -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);
                }