version 1.61, 2004/07/17 05:31:41 |
version 1.61.2.2, 2005/06/05 02:22:39 |
|
|
debug3("%s: key_from_blob: %p", __func__, key); |
debug3("%s: key_from_blob: %p", __func__, key); |
|
|
if (key != NULL && authctxt->valid) { |
if (key != NULL && authctxt->valid) { |
switch(type) { |
switch (type) { |
case MM_USERKEY: |
case MM_USERKEY: |
allowed = options.pubkey_authentication && |
allowed = options.pubkey_authentication && |
user_key_allowed(authctxt->pw, key); |
user_key_allowed(authctxt->pw, key); |
|
|
int rsafail; |
int rsafail; |
|
|
/* Turn off permissions */ |
/* Turn off permissions */ |
monitor_permit(mon_dispatch, MONITOR_REQ_SESSKEY, 1); |
monitor_permit(mon_dispatch, MONITOR_REQ_SESSKEY, 0); |
|
|
if ((p = BN_new()) == NULL) |
if ((p = BN_new()) == NULL) |
fatal("%s: BN_new", __func__); |
fatal("%s: BN_new", __func__); |