]> granicus.if.org Git - libtirpc/commitdiff
auth.h: Remove unsupported routine declarations
authorSteve Dickson <steved@redhat.com>
Wed, 29 Apr 2015 19:11:33 +0000 (15:11 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 30 Apr 2015 12:34:47 +0000 (08:34 -0400)
Signed-off-by: Steve Dickson <steved@redhat.com>
src/auth_des.c
tirpc/rpc/auth.h
tirpc/rpc/auth_des.h

index f8749b0747935a34a2483e99f23ba0fb79019be0..543bd4b076280f0288bda9b19ec4ace12e19dbda 100644 (file)
@@ -77,6 +77,8 @@ static bool_t authdes_marshal(AUTH *, XDR *);
 static bool_t  authdes_validate(AUTH *, struct opaque_auth *);
 static bool_t  authdes_refresh(AUTH *, void *);
 static void    authdes_destroy(AUTH *);
+extern int key_gendes(des_block *deskey);
+extern int getpublickey (const char *, char *);
 
 static struct auth_ops *authdes_ops(void);
 
index 1b6c69937bed05e72076a06e05b78f18ffccd9d7..f7fa16c28c02a7a7099f127d869ab0eff34f57f9 100644 (file)
@@ -369,38 +369,6 @@ extern void passwd2des ( char *, char * );
 }
 #endif
 
-/*
- *
- * These routines interface to the keyserv daemon
- *
- */
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern int key_decryptsession(const char *, des_block *);
-extern int key_encryptsession(const char *, des_block *);
-#ifdef HAVE_AUTHDES
-extern int key_gendes(des_block *);
-#endif /* HAVE_AUTHDES */
-extern int key_setsecret(const char *);
-extern int key_secretkey_is_set(void);
-#ifdef __cplusplus
-}
-#endif
-
-/*
- * Publickey routines.
- */
-#ifdef __cplusplus
-extern "C" {
-#endif
-extern int getpublickey (const char *, char *);
-extern int getpublicandprivatekey (char *, char *);
-extern int getsecretkey (char *, char *, char *);
-#ifdef __cplusplus
-}
-#endif
-
 #ifdef KERBEROS
 /*
  * Kerberos style authentication
index 77e169ddef10d3b2aceec4759e302b4eae0826cb..8abb4cac61a8f5e1c2aae12627514e904c41aa77 100644 (file)
@@ -127,8 +127,6 @@ extern "C" {
 #endif
 extern bool_t  xdr_authdes_cred(XDR *, struct authdes_cred *);
 extern bool_t  xdr_authdes_verf(XDR *, struct authdes_verf *);
-extern int     rtime(dev_t, struct netbuf *, int, struct timeval *,
-                   struct timeval *);
 extern void    kgetnetname(char *);
 extern enum auth_stat _svcauth_des(struct svc_req *, struct rpc_msg *);
 #ifdef __cplusplus