gsi_openssh/source/ssh-pkcs11-helper.c
static struct sshkey *
lookup_key(struct sshkey *k)
{
	struct pkcs11_keyinfo *ki;

	TAILQ_FOREACH(ki, &pkcs11_keylist, next) {
		debug("check %s %s %s", sshkey_type(ki->key),
		    ki->providername, ki->label);
		if (sshkey_equal(k, ki->key))
			return (ki->key);
	}
	return (NULL);
}
/* lookup matching 'private' key */
lookup matching 'private' key
lookup matching ' private ' key
static struct sshkey *
lookup_key(struct sshkey *k)
{
	struct pkcs11_keyinfo *ki;
	TAILQ_FOREACH(ki, &pkcs11_keylist, next) {
		debug("check %s %s %s", sshkey_type(ki->key),
		    ki->providername, ki->label);
		if (sshkey_equal(k, ki->key))
			return (ki->key);
	}
	return (NULL);
}
static struct sshkey * lookup_key ( struct sshkey * k ) { struct pkcs11_keyinfo * ki ; TAILQ_FOREACH ( ki , & pkcs11_keylist , next ) { debug ( " " , sshkey_type ( ki -> key ) , ki -> providername , ki -> label ) ; if ( sshkey_equal ( k , ki -> key ) ) return ( ki -> key ) ; } return ( NULL ) ; }
lookup matching 'private' key
lookup matching ' private ' key