Changeset View
Changeset View
Standalone View
Standalone View
auth.h
/* $OpenBSD: auth.h,v 1.99 2019/01/19 21:43:56 djm Exp $ */ | /* $OpenBSD: auth.h,v 1.100 2019/09/06 05:23:55 djm Exp $ */ | ||||
/* | /* | ||||
* Copyright (c) 2000 Markus Friedl. All rights reserved. | * Copyright (c) 2000 Markus Friedl. All rights reserved. | ||||
* | * | ||||
* Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without | ||||
* modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions | ||||
* are met: | * are met: | ||||
* 1. Redistributions of source code must retain the above copyright | * 1. Redistributions of source code must retain the above copyright | ||||
Show All 15 Lines | |||||
* | * | ||||
*/ | */ | ||||
#ifndef AUTH_H | #ifndef AUTH_H | ||||
#define AUTH_H | #define AUTH_H | ||||
#include <signal.h> | #include <signal.h> | ||||
#include <openssl/rsa.h> | |||||
#ifdef HAVE_LOGIN_CAP | #ifdef HAVE_LOGIN_CAP | ||||
#include <login_cap.h> | #include <login_cap.h> | ||||
#endif | #endif | ||||
#ifdef BSD_AUTH | #ifdef BSD_AUTH | ||||
#include <bsd_auth.h> | #include <bsd_auth.h> | ||||
#endif | #endif | ||||
#ifdef KRB5 | #ifdef KRB5 | ||||
#include <krb5.h> | #include <krb5.h> | ||||
▲ Show 20 Lines • Show All 188 Lines • ▼ Show 20 Lines | |||||
#define SSH_SUBPROCESS_STDOUT_CAPTURE (1<<1) /* Redirect stdout */ | #define SSH_SUBPROCESS_STDOUT_CAPTURE (1<<1) /* Redirect stdout */ | ||||
#define SSH_SUBPROCESS_STDERR_DISCARD (1<<2) /* Discard stderr */ | #define SSH_SUBPROCESS_STDERR_DISCARD (1<<2) /* Discard stderr */ | ||||
pid_t subprocess(const char *, struct passwd *, | pid_t subprocess(const char *, struct passwd *, | ||||
const char *, int, char **, FILE **, u_int flags); | const char *, int, char **, FILE **, u_int flags); | ||||
int sys_auth_passwd(struct ssh *, const char *); | int sys_auth_passwd(struct ssh *, const char *); | ||||
#if defined(KRB5) && !defined(HEIMDAL) | #if defined(KRB5) && !defined(HEIMDAL) | ||||
#include <krb5.h> | |||||
krb5_error_code ssh_krb5_cc_gen(krb5_context, krb5_ccache *); | krb5_error_code ssh_krb5_cc_gen(krb5_context, krb5_ccache *); | ||||
#endif | #endif | ||||
#endif | |||||
#endif /* AUTH_H */ |