aboutsummaryrefslogtreecommitdiffstats
path: root/common/ssh-utils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-03-15 14:46:03 +0000
committerWerner Koch <[email protected]>2013-03-19 16:26:42 +0000
commit4bde12206c5bf199dc6e12a74af8da4558ba41bf (patch)
tree23175bfae00ac2838223a853430956c0873ed588 /common/ssh-utils.c
parentscd: ccid-driver supporting larger APDU. (diff)
downloadgnupg-4bde12206c5bf199dc6e12a74af8da4558ba41bf.tar.gz
gnupg-4bde12206c5bf199dc6e12a74af8da4558ba41bf.zip
gpg: Distinguish between missing and cleared key flags.
* include/cipher.h (PUBKEY_USAGE_NONE): New. * g10/getkey.c (parse_key_usage): Set new flag. -- We do not want to use the default capabilities (derived from the algorithm) if any key flags are given in a signature. Thus if key flags are used in any way, the default key capabilities are never used. This allows to create a key with key flags set to all zero so it can't be used. This better reflects common sense.
Diffstat (limited to 'common/ssh-utils.c')
0 files changed, 0 insertions, 0 deletions