mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch
This commit is contained in:
parent
e3e8d9b92f
commit
7d0efec7cf
31 changed files with 621 additions and 223 deletions
10
g10/getkey.c
10
g10/getkey.c
|
@ -626,6 +626,16 @@ get_seckey( PKT_secret_key *sk, u32 *keyid )
|
|||
return rc;
|
||||
}
|
||||
|
||||
/****************
|
||||
* Get the primary secret key and store it into sk
|
||||
* Note: This function does not unprotect the key!
|
||||
*/
|
||||
int
|
||||
get_primary_seckey( PKT_secret_key *sk, u32 *keyid )
|
||||
{
|
||||
return lookup_sk( sk, 11, keyid, NULL, 1 );
|
||||
}
|
||||
|
||||
/****************
|
||||
* Check whether the secret key is available
|
||||
* Returns: 0 := key is available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue