diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-23 19:15:05 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-23 19:15:05 +0000 |
commit | ea58b3236e75c3aa17d72ddee65e434404d3d51c (patch) | |
tree | a526baf718013553882bdcc5576a094f20266475 /security/pgp6/files/patch-cc | |
parent | Note conflict with old versions (requested by marcus). (diff) |
- Fix build on 5.x
PR: ports/61762
Submitted by: maintainer
Diffstat (limited to '')
-rw-r--r-- | security/pgp6/files/patch-cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/security/pgp6/files/patch-cc b/security/pgp6/files/patch-cc new file mode 100644 index 000000000000..9366ea2eafeb --- /dev/null +++ b/security/pgp6/files/patch-cc @@ -0,0 +1,19 @@ +--- clients/pgp/cmdline/doencode.c Thu Sep 30 20:10:21 1999 ++++ clients/pgp/cmdline/doencode.c Thu Jan 11 20:50:20 2001 +@@ -283,6 +283,7 @@ + PGPBoolean batchmode = pgpenvGetInt( env, PGPENV_BATCHMODE, &pri, &err ); + PGPBoolean verbose = pgpenvGetInt( env, PGPENV_VERBOSE, &pri, &err ); + PGPBoolean quietmode = pgpenvGetInt( env, PGPENV_NOOUT, &pri, &err); ++ PGPBoolean force = pgpenvGetInt( env, PGPENV_FORCE, &pri, &err); + PGPKeySetRef tmpset; + + err = PGPNewEmptyKeySet( toSet, &tmpset ); +@@ -317,7 +318,7 @@ + if(verbose) + pgpShowKeyValidity( filebPtr, key ); + +- if( validity < kPGPValidity_Marginal ) { ++ if( validity < kPGPValidity_Marginal && !force) { + char useridstr[ kPGPMaxUserIDSize ]; + PGPBoolean answer; + err = pgpGetUserIDStringFromKey( key, useridstr ); |