URI: 
       tnew allocrpc interface - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 2709e6e3689c2f7957758de452ee740136e5eec0
   DIR parent 211073f16aa782074663a062977a30d3d19cef5f
  HTML Author: rsc <devnull@localhost>
       Date:   Fri, 11 Feb 2005 16:44:33 +0000
       
       new allocrpc interface
       
       Diffstat:
         M src/libsec/port/tlshand.c           |       7 +------
       
       1 file changed, 1 insertion(+), 6 deletions(-)
       ---
   DIR diff --git a/src/libsec/port/tlshand.c b/src/libsec/port/tlshand.c
       t@@ -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";