version 1.11.2.2, 2002/06/22 07:23:17 |
version 1.11.2.3, 2002/06/26 18:22:35 |
|
|
xfree(signature); |
xfree(signature); |
xfree(data); |
xfree(data); |
|
|
|
auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased"; |
|
|
monitor_reset_key_state(); |
monitor_reset_key_state(); |
|
|
buffer_clear(m); |
buffer_clear(m); |
buffer_put_int(m, verified); |
buffer_put_int(m, verified); |
mm_request_send(socket, MONITOR_ANS_KEYVERIFY, m); |
mm_request_send(socket, MONITOR_ANS_KEYVERIFY, m); |
|
|
auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased"; |
|
|
|
return (verified); |
return (verified); |
} |
} |
|
|
|
|
void * |
void * |
mm_zalloc(struct mm_master *mm, u_int ncount, u_int size) |
mm_zalloc(struct mm_master *mm, u_int ncount, u_int size) |
{ |
{ |
|
int len = size * ncount; |
void *address; |
void *address; |
|
|
address = mm_malloc(mm, size * ncount); |
if (len <= 0) |
|
fatal("%s: mm_zalloc(%u, %u)", __func__, ncount, size); |
|
|
|
address = mm_malloc(mm, len); |
|
|
return (address); |
return (address); |
} |
} |