commit 2709e6e3689c2f7957758de452ee740136e5eec0 from: rsc date: Fri Feb 11 16:44:33 2005 UTC new allocrpc interface commit - 211073f16aa782074663a062977a30d3d19cef5f commit + 2709e6e3689c2f7957758de452ee740136e5eec0 blob - 47d0f80e5179f4a797a221a807ad251c378e0f8d blob + ee4cd43d0cf25b827e8320dd99f166214f72cc17 --- src/libsec/port/tlshand.c +++ src/libsec/port/tlshand.c @@ -1586,17 +1586,12 @@ makeciphers(void) static AuthRpc* factotum_rsa_open(uchar *cert, int certlen) { - int afd; char *s; mpint *pub = nil; RSApub *rsapub; AuthRpc *rpc; - // start talking to factotum - if((afd = open("/mnt/factotum/rpc", ORDWR)) < 0) - return nil; - if((rpc = auth_allocrpc(afd)) == nil){ - close(afd); + if((rpc = auth_allocrpc()) == nil){ return nil; } s = "proto=rsa service=tls role=client";