~ubuntu-branches/ubuntu/trusty/ocamlnet/trusty

« back to all changes in this revision

Viewing changes to src/rpc-auth-dh/rpc_key_service.mlp

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu
  • Date: 2011-09-02 14:12:33 UTC
  • mfrom: (18.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110902141233-zbj0ygxb92u6gy4z
Tags: 3.4-1
* New upstream release
  - add a new NetcgiRequire directive to ease dependency management
    (Closes: #637147)
  - remove patches that were applied upstream:
    + Added-missing-shebang-lines-in-example-shell-scripts
    + Try-also-ocamlc-for-POSIX-threads

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(* $Id: rpc_key_service.mlp 459 2006-04-30 19:49:19Z gerd $
 
1
(* $Id: rpc_key_service.mlp 1201 2008-08-31 23:41:22Z gerd $
2
2
 * ----------------------------------------------------------------------
3
3
 *
4
4
 *)
7
7
exception No_secret_key
8
8
exception Key_service_problem of exn
9
9
 
 
10
let () =
 
11
  Netexn.register_printer
 
12
    (Key_service_problem Not_found)
 
13
    (fun e ->
 
14
       match e with
 
15
         | Key_service_problem e' ->
 
16
             "Rpc_key_service.Key_service_problem(" ^ Netexn.to_string e' ^ ")"
 
17
         | _ ->
 
18
             assert false
 
19
    )
 
20
 
 
21
 
10
22
module A = Rpc_key_aux
11
23
module C1 = Rpc_key_clnt.KEY_PROG.KEY_VERS
12
24
module C2 = Rpc_key_clnt.KEY_PROG.KEY_VERS2