diff options
author | rsc <devnull@localhost> | 2005-02-11 16:44:33 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-11 16:44:33 +0000 |
commit | 2709e6e3689c2f7957758de452ee740136e5eec0 (patch) | |
tree | 224f0a01ad40a021ed61b6e8b6e34d76600541d5 /src/libsec | |
parent | 211073f16aa782074663a062977a30d3d19cef5f (diff) | |
download | plan9port-2709e6e3689c2f7957758de452ee740136e5eec0.tar.gz plan9port-2709e6e3689c2f7957758de452ee740136e5eec0.tar.bz2 plan9port-2709e6e3689c2f7957758de452ee740136e5eec0.zip |
new allocrpc interface
Diffstat (limited to 'src/libsec')
-rw-r--r-- | src/libsec/port/tlshand.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libsec/port/tlshand.c b/src/libsec/port/tlshand.c index 47d0f80e..ee4cd43d 100644 --- a/src/libsec/port/tlshand.c +++ b/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"; |