mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Use proper #include for xdecrypt declarations.
This commit is contained in:
parent
595aba70a4
commit
59d112a4c7
@ -1,3 +1,9 @@
|
|||||||
|
2013-08-26 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
|
||||||
|
instead of explicitly declaring xdecrypt.
|
||||||
|
* nis/nss_nis/nis-publickey.c: Likewise.
|
||||||
|
|
||||||
2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
[BZ #15890]
|
[BZ #15890]
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include <rpcsvc/yp.h>
|
#include <rpcsvc/yp.h>
|
||||||
#include <rpcsvc/ypclnt.h>
|
#include <rpcsvc/ypclnt.h>
|
||||||
#include <rpc/key_prot.h>
|
#include <rpc/key_prot.h>
|
||||||
extern int xdecrypt (char *, char *);
|
#include <rpc/des_crypt.h>
|
||||||
|
|
||||||
#include "nss-nis.h"
|
#include "nss-nis.h"
|
||||||
|
|
||||||
|
@ -21,13 +21,11 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <rpc/key_prot.h>
|
#include <rpc/key_prot.h>
|
||||||
|
#include <rpc/des_crypt.h>
|
||||||
#include "nsswitch.h"
|
#include "nsswitch.h"
|
||||||
|
|
||||||
#define DATAFILE "/etc/publickey"
|
#define DATAFILE "/etc/publickey"
|
||||||
|
|
||||||
/* Prototype for function in xcyrpt.c. */
|
|
||||||
extern int xdecrypt (char *, char *);
|
|
||||||
|
|
||||||
|
|
||||||
static enum nss_status
|
static enum nss_status
|
||||||
search (const char *netname, char *result, int *errnop, int secret)
|
search (const char *netname, char *result, int *errnop, int secret)
|
||||||
|
Loading…
Reference in New Issue
Block a user