rel 0.2.7 mit kleines Korrekturen

This commit is contained in:
Werner Koch 1998-02-18 18:52:59 +00:00
parent b758180325
commit 9119f2bf59
16 changed files with 46 additions and 29 deletions

View File

@ -1,3 +1,7 @@
Wed Feb 18 17:36:45 1998 Werner Koch (wk@isil.d.shuttle.de)
* Makefile.am (checks): New.
Sat Feb 14 15:37:55 1998 Werner Koch (wk@isil.d.shuttle.de)
* configure.in (mpi_config_done): Removed asm links caching.

View File

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = intl po zlib util mpi cipher tools g10
SUBDIRS = intl po zlib util mpi cipher tools g10 checks
EXTRA_DIST = VERSION
@ -18,3 +18,4 @@ dist-hook:
done ; \
done

View File

@ -86,7 +86,7 @@ RANLIB = @RANLIB@
VERSION = @VERSION@
ZLIBS = @ZLIBS@
SUBDIRS = intl po zlib util mpi cipher tools g10
SUBDIRS = intl po zlib util mpi cipher tools g10 checks
EXTRA_DIST = VERSION
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/scripts/mkinstalldirs

2
NEWS
View File

@ -17,6 +17,8 @@ Noteworthy changes in version 0.2.7
* Assembler code for m68k (not tested).
* "make check" works.
Noteworthy changes in version 0.2.6
-----------------------------------

View File

@ -1 +1 @@
0.2.6a
0.2.7

9
checks/Makefile.am Normal file
View File

@ -0,0 +1,9 @@
## Process this file with automake to create Makefile.in
TESTS = checkit
TEST_FILES = pubring.asc secring.asc plain-1 plain-2 plain-3o.asc \
plain-1.asc plain-2.asc plain-3.asc
EXTRA_DIST = $(TESTS) $(TEST_FILES)

View File

@ -89,12 +89,12 @@ run_g10maint --yes --dearmor -o pubring.g10 pubring.asc
run_g10maint --yes --dearmor -o secring.g10 secring.asc
run_g10maint --yes --dearmor -o plain-3 plain-3o.asc
plain_files="$plain_files plain-3"
# make sure all files are created
echo "$usrpass1" | run_g10 --no-operation
info Checking decryption
for i in $plain_files ; do
echo "$usrpass1" | run_g10 --passphrase-fd 0 -o y --yes $i.asc
run_g10 --passphrase-fd 0 -o y --yes $i.asc
cmp $i y || error "$i: mismatch"
done

View File

@ -1,10 +0,0 @@
checkit
pubring.asc
secring.asc
plain-1
plain-2
plain-3o.asc
plain-1.asc
plain-2.asc
plain-3.asc

View File

@ -211,5 +211,6 @@ cipher/Makefile
g10/Makefile
tools/Makefile
zlib/Makefile
checks/Makefile
],[echo timestamp >stamp-h; sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile])

View File

@ -1,3 +1,9 @@
Wed Feb 18 18:39:02 1998 Werner Koch (wk@isil.d.shuttle.de)
* Makefile.am (OMIT_DEPENDENCIES): New.
* rsa.c: Replaced log_bug by BUG.
Wed Feb 18 13:35:58 1998 Werner Koch (wk@isil.d.shuttle.de)
* mainproc.c (do_check_sig): Now uses hash_public_cert.

View File

@ -2,6 +2,7 @@
INCLUDES = -I$(top_srcdir)/include
EXTRA_DIST = OPTIONS pubring.asc
OMIT_DEPENDENCIES = zlib.h zconf.h
needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
bin_PROGRAMS = g10 g10maint
@ -59,5 +60,6 @@ g10maint_SOURCES = g10maint.c \
LDADD = @INTLLIBS@ $(needed_libs) @ZLIBS@
$(PROGRAMS): $(needed_libs)

View File

@ -88,6 +88,7 @@ ZLIBS = @ZLIBS@
INCLUDES = -I$(top_srcdir)/include
EXTRA_DIST = OPTIONS pubring.asc
OMIT_DEPENDENCIES = zlib.h zconf.h
needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
bin_PROGRAMS = g10 g10maint

View File

@ -422,15 +422,17 @@ main( int argc, char **argv )
tty_printf("%s", strusage(15) );
}
if( !sec_nrings || default_keyring ) { /* add default secret rings */
char *p = make_filename(opt.homedir, "secring.g10", NULL );
add_secret_keyring(p);
m_free(p);
}
if( !nrings || default_keyring ) { /* add default ring */
char *p = make_filename(opt.homedir, "pubring.g10", NULL );
add_keyring(p);
m_free(p);
if( cmd != aDeArmor && cmd != aEnArmor ) {
if( !sec_nrings || default_keyring ) { /* add default secret rings */
char *p = make_filename(opt.homedir, "secring.g10", NULL );
add_secret_keyring(p);
m_free(p);
}
if( !nrings || default_keyring ) { /* add default ring */
char *p = make_filename(opt.homedir, "pubring.g10", NULL );
add_keyring(p);
m_free(p);
}
}
if( argc ) {

View File

@ -58,7 +58,7 @@ g10_rsa_encrypt( PKT_public_cert *pkc, PKT_pubkey_enc *enc, DEK *dek )
m_free(ustr);
}
#else
log_bug(NULL);
BUG();
#endif/* ! HAVE_RSA_CIPHER*/
}
@ -96,7 +96,7 @@ g10_rsa_sign( PKT_secret_cert *skc, PKT_signature *sig,
m_free(ustr);
}
#else
log_bug(NULL);
BUG();
#endif/* ! HAVE_RSA_CIPHER*/
}

View File

@ -1,5 +1,5 @@
syntax.h
mpih-lshift.S
mpih-shift.S
mpih-add1.S
mpih-sub1.S

View File

@ -18,7 +18,6 @@ echo "Unpacking previous and current tar"
tar xzf "g10-$curr_ver.tar.gz"
tar xzf "g10-$prev_ver.tar.gz"
read
echo "Diffing"
tmp_name="g10-$curr_ver.diff.tmp"