mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
NT version compiles
This commit is contained in:
parent
b7bdef0834
commit
e1117ae4a1
14 changed files with 380 additions and 138 deletions
15
g10/getkey.c
15
g10/getkey.c
|
@ -88,6 +88,21 @@ add_keyring( const char *name )
|
|||
log_error("keyblock resource '%s': %s\n", name, g10_errstr(rc) );
|
||||
}
|
||||
|
||||
|
||||
/****************
|
||||
* Get the name of the keyrings, start with a sequence number of 0.
|
||||
*/
|
||||
const char *
|
||||
get_keyring( int sequence )
|
||||
{
|
||||
STRLIST sl;
|
||||
|
||||
for(sl = keyrings; sl && sequence; sl = sl->next, sequence-- )
|
||||
;
|
||||
return sl? sl->d : NULL;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
add_secret_keyring( const char *name )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue