* gpgsm.c, gpgsm.h: Add local_user.
authorWerner Koch <wk@gnupg.org>
Tue, 5 Mar 2002 15:56:46 +0000 (15:56 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 5 Mar 2002 15:56:46 +0000 (15:56 +0000)
commitc8454f792d7d592bd714a05265319287974825c9
treeddb7b0cfbdacff04ba90276c22c4203dee16b039
parentdfda938ee9c0b5de25ccdc1a7b4cdf53e37b4bcb
* gpgsm.c, gpgsm.h: Add local_user.
* sign.c (gpgsm_get_default_cert): New.
(get_default_signer): Use the new function if local_user is not
set otherwise used that value.
* encrypt.c (get_default_recipient): Removed.
(gpgsm_encrypt): Use gpgsm_get_default_cert.
* verify.c (gpgsm_verify): Better error text for a bad signature
found by comparing the hashs.
sm/ChangeLog
sm/certcheck.c
sm/encrypt.c
sm/gpgsm.c
sm/gpgsm.h
sm/keydb.c
sm/keylist.c
sm/sign.c
sm/verify.c