diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-08-04 13:48:41 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-08-04 13:48:41 +0200 |
commit | f3ab2c5f9cf4aed44971eded3ac9eeb1344b2be5 (patch) | |
tree | a17f6aa145e9a75b48766160427aef34e93c6d6b /openbsd-compat/bsd-misc.h | |
parent | - (djm) [sshlogin.h] Fix prototype merge botch from 2006; bz#2134 (diff) | |
download | openssh-f3ab2c5f9cf4aed44971eded3ac9eeb1344b2be5.tar.xz openssh-f3ab2c5f9cf4aed44971eded3ac9eeb1344b2be5.zip |
- (dtucker) [auth-krb5.c configure.ac openbsd-compat/bsd-misc.h] Add support
for building with older Heimdal versions. ok djm.
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 9ebd83c3a..65c18ec2f 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -1,4 +1,4 @@ -/* $Id: bsd-misc.h,v 1.24 2013/05/29 22:29:09 dtucker Exp $ */ +/* $Id: bsd-misc.h,v 1.25 2013/08/04 11:48:41 dtucker Exp $ */ /* * Copyright (c) 1999-2004 Damien Miller <djm@mindrot.org> @@ -114,4 +114,12 @@ pid_t getpgid(pid_t); # define endgrent() {} #endif +#ifndef HAVE_KRB5_GET_ERROR_MESSAGE +# define krb5_get_error_message krb5_get_err_text +#endif + +#ifndef HAVE_KRB5_FREE_ERROR_MESSAGE +# define krb5_free_error_message(a,b) while(0) +#endif + #endif /* _BSD_MISC_H */ |