Fixed a bug in nm_bytes cache.

This commit is contained in:
gardners 2012-04-14 02:51:09 +09:30
parent 4de6622c68
commit 9531b5006d

View File

@ -1186,7 +1186,7 @@ unsigned char *keyring_get_nm_bytes(sockaddr_mdp *known,sockaddr_mdp *unknown)
/* Not in the cache, so prepare to cache it (or return failure if known is not
in fact a known key */
int cn,in,kp;
int cn=0,in=0,kp=0;
if (!keyring_find_sid(keyring,&cn,&in,&kp,known->sid))
WHYRETNULL("known key is not in fact known.");