1 int keyring_search(void);
keydb_search2(int * hdfound,int * hdcurrent,int * a)2 int keydb_search2 (int *hdfound, int *hdcurrent, int *a)
3 {
4     int rc = -1;
5     while (rc == -1) {
6         if (*a == 1)
7             rc = keyring_search ();
8         if (rc == -1)
9             *hdcurrent++;
10 	if (!rc)
11             *hdfound = *hdcurrent;
12     }
13     return rc;
14 }
15