CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: christos Date: Sun Jan 29 19:38:38 UTC 2017 Modified Files: src/crypto/external/bsd/heimdal/include: roken.h Log Message: this is not needed anymore To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/crypto/external/bsd/heimdal/include/roken.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/roken.h diff -u src/crypto/external/bsd/heimdal/include/roken.h:1.6 src/crypto/external/bsd/heimdal/include/roken.h:1.7 --- src/crypto/external/bsd/heimdal/include/roken.h:1.6 Sun Jan 29 14:38:00 2017 +++ src/crypto/external/bsd/heimdal/include/roken.h Sun Jan 29 14:38:38 2017 @@ -99,7 +99,7 @@ typedef int rk_socket_t; -#include "roken-common.h" +#include ROKEN_CPP_START
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: christos Date: Sun Jan 29 19:38:00 UTC 2017 Modified Files: src/crypto/external/bsd/heimdal/include: roken.h Log Message: include roken-common.h directly. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/heimdal/include/roken.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/roken.h diff -u src/crypto/external/bsd/heimdal/include/roken.h:1.5 src/crypto/external/bsd/heimdal/include/roken.h:1.6 --- src/crypto/external/bsd/heimdal/include/roken.h:1.5 Sat Jan 28 16:31:51 2017 +++ src/crypto/external/bsd/heimdal/include/roken.h Sun Jan 29 14:38:00 2017 @@ -99,7 +99,7 @@ typedef int rk_socket_t; -#include +#include "roken-common.h" ROKEN_CPP_START
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: christos Date: Sun Jan 29 01:46:17 UTC 2017 Modified Files: src/crypto/external/bsd/heimdal/include: config.h Log Message: override arc4* for tools build. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/heimdal/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/config.h diff -u src/crypto/external/bsd/heimdal/include/config.h:1.7 src/crypto/external/bsd/heimdal/include/config.h:1.8 --- src/crypto/external/bsd/heimdal/include/config.h:1.7 Sat Jan 28 16:31:51 2017 +++ src/crypto/external/bsd/heimdal/include/config.h Sat Jan 28 20:46:16 2017 @@ -3,12 +3,14 @@ #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" -#endif +#define arc4random random +#define arc4random_stir() srandom(time(NULL)) #undef PACKAGE_NAME #undef PACKAGE_STRING #undef PACKAGE_TARNAME #undef PACKAGE_VERSION #undef PACKAGE_BUGREPORT +#endif #ifndef RCSID #define RCSID(msg) \
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: pettai Date: Tue Apr 29 23:18:53 UTC 2014 Modified Files: src/crypto/external/bsd/heimdal/include: config.h Log Message: update VERSION To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/heimdal/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/config.h diff -u src/crypto/external/bsd/heimdal/include/config.h:1.5 src/crypto/external/bsd/heimdal/include/config.h:1.6 --- src/crypto/external/bsd/heimdal/include/config.h:1.5 Thu Apr 24 13:50:53 2014 +++ src/crypto/external/bsd/heimdal/include/config.h Tue Apr 29 23:18:53 2014 @@ -1532,7 +1532,7 @@ static /**/const char *const rcsid[] = { /* #undef TM_IN_SYS_TIME */ /* Version number of package */ -#define VERSION 1.5pre1 +#define VERSION 1.5.3 /* Define if signal handlers return void. */ #define VOID_RETSIGTYPE 1
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: joerg Date: Tue Nov 8 22:13:58 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: config.h Log Message: Unbreak MKINET6=no To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/heimdal/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/config.h diff -u src/crypto/external/bsd/heimdal/include/config.h:1.3 src/crypto/external/bsd/heimdal/include/config.h:1.4 --- src/crypto/external/bsd/heimdal/include/config.h:1.3 Sat Apr 16 17:45:45 2011 +++ src/crypto/external/bsd/heimdal/include/config.h Tue Nov 8 22:13:58 2011 @@ -528,8 +528,10 @@ static /**/const char *const rcsid[] = { /* Define to 1 if you have the io.h header file. */ /* #undef HAVE_IO_H */ +#if 0 /* Define if you have IPv6. */ #define HAVE_IPV6 1 +#endif /* Define if you have the function `iruserok'. */ #define HAVE_IRUSEROK 1
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: christos Date: Tue May 17 12:56:44 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: krb5-protos.h Log Message: add missing prototypes. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/heimdal/include/krb5-protos.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/krb5-protos.h diff -u src/crypto/external/bsd/heimdal/include/krb5-protos.h:1.1 src/crypto/external/bsd/heimdal/include/krb5-protos.h:1.2 --- src/crypto/external/bsd/heimdal/include/krb5-protos.h:1.1 Wed Apr 13 15:03:58 2011 +++ src/crypto/external/bsd/heimdal/include/krb5-protos.h Tue May 17 08:56:44 2011 @@ -2781,6 +2781,11 @@ char */*prefix*/, size_t /*prefixsize*/); +KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL +krb5_kt_have_content ( + krb5_context /*context*/, +krb5_keytab /*id*/); + KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_kt_next_entry ( krb5_context /*context*/, @@ -3861,6 +3866,9 @@ KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL krb5_sockaddr_uninteresting (const struct sockaddr */*sa*/); +KRB5_LIB_FUNCTION krb5_boolean KRB5_LIB_CALL +krb5_sockaddr_is_loopback (const struct sockaddr */*sa*/); + KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_std_usage ( int /*code*/,
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Sun Apr 24 22:24:14 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: krb5-types.h Log Message: Remove the definition of various X_DEPRECATED as userland has been fixed to stop using functions defined as deprecated by Heimdal. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/heimdal/include/krb5-types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/krb5-types.h diff -u src/crypto/external/bsd/heimdal/include/krb5-types.h:1.4 src/crypto/external/bsd/heimdal/include/krb5-types.h:1.5 --- src/crypto/external/bsd/heimdal/include/krb5-types.h:1.4 Fri Apr 15 14:41:11 2011 +++ src/crypto/external/bsd/heimdal/include/krb5-types.h Sun Apr 24 22:24:14 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: krb5-types.h,v 1.4 2011/04/15 14:41:11 elric Exp $ */ +/* $NetBSD: krb5-types.h,v 1.5 2011/04/24 22:24:14 elric Exp $ */ #ifndef __krb5_types_h__ #define __krb5_types_h__ @@ -14,10 +14,6 @@ typedef int krb5_socket_t; -#define HEIMDAL_DEPRECATED -#define GSSAPI_DEPRECATED -#define KRB5_DEPRECATED - #ifndef HEIMDAL_DEPRECATED #if defined(__GNUC__) ((__GNUC__ 3) || ((__GNUC__ == 3) (__GNUC_MINOR__ = 1 ))) #define HEIMDAL_DEPRECATED __attribute__((deprecated))
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Fri Apr 15 12:18:22 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: krb5-types.h Log Message: For the duration of the import and upgrade, we eliminate the marking of older interfaces as deprecated as this breaks the build and we want to commit the changes in logical chunks. We will revert this commit later. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/heimdal/include/krb5-types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/krb5-types.h diff -u src/crypto/external/bsd/heimdal/include/krb5-types.h:1.1 src/crypto/external/bsd/heimdal/include/krb5-types.h:1.2 --- src/crypto/external/bsd/heimdal/include/krb5-types.h:1.1 Wed Apr 13 19:03:58 2011 +++ src/crypto/external/bsd/heimdal/include/krb5-types.h Fri Apr 15 12:18:22 2011 @@ -1,5 +1,5 @@ /* krb5-types.h -- this file was generated for x86_64-unknown-netbsd5.99.41 by - $Id: krb5-types.h,v 1.1 2011/04/13 19:03:58 elric Exp $ */ + $Id: krb5-types.h,v 1.2 2011/04/15 12:18:22 elric Exp $ */ #ifndef __krb5_types_h__ #define __krb5_types_h__ @@ -15,6 +15,8 @@ typedef int krb5_socket_t; +#define HEIMDAL_DEPRECATED + #ifndef HEIMDAL_DEPRECATED #if defined(__GNUC__) ((__GNUC__ 3) || ((__GNUC__ == 3) (__GNUC_MINOR__ = 1 ))) #define HEIMDAL_DEPRECATED __attribute__((deprecated))
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Fri Apr 15 12:19:20 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: krb5-types.h Log Message: Fix $Id$ - $NetBSD$ in our own include. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/heimdal/include/krb5-types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/krb5-types.h diff -u src/crypto/external/bsd/heimdal/include/krb5-types.h:1.2 src/crypto/external/bsd/heimdal/include/krb5-types.h:1.3 --- src/crypto/external/bsd/heimdal/include/krb5-types.h:1.2 Fri Apr 15 12:18:22 2011 +++ src/crypto/external/bsd/heimdal/include/krb5-types.h Fri Apr 15 12:19:20 2011 @@ -1,5 +1,4 @@ -/* krb5-types.h -- this file was generated for x86_64-unknown-netbsd5.99.41 by - $Id: krb5-types.h,v 1.2 2011/04/15 12:18:22 elric Exp $ */ +/* $NetBSD: krb5-types.h,v 1.3 2011/04/15 12:19:20 elric Exp $ */ #ifndef __krb5_types_h__ #define __krb5_types_h__
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Fri Apr 15 14:41:11 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: krb5-types.h Log Message: Also define GSSAPI_DEPRECATED and KRB5_DEPRECATED as NULL to complete the work of the prior check in. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/crypto/external/bsd/heimdal/include/krb5-types.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/krb5-types.h diff -u src/crypto/external/bsd/heimdal/include/krb5-types.h:1.3 src/crypto/external/bsd/heimdal/include/krb5-types.h:1.4 --- src/crypto/external/bsd/heimdal/include/krb5-types.h:1.3 Fri Apr 15 12:19:20 2011 +++ src/crypto/external/bsd/heimdal/include/krb5-types.h Fri Apr 15 14:41:11 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: krb5-types.h,v 1.3 2011/04/15 12:19:20 elric Exp $ */ +/* $NetBSD: krb5-types.h,v 1.4 2011/04/15 14:41:11 elric Exp $ */ #ifndef __krb5_types_h__ #define __krb5_types_h__ @@ -15,6 +15,8 @@ typedef int krb5_socket_t; #define HEIMDAL_DEPRECATED +#define GSSAPI_DEPRECATED +#define KRB5_DEPRECATED #ifndef HEIMDAL_DEPRECATED #if defined(__GNUC__) ((__GNUC__ 3) || ((__GNUC__ == 3) (__GNUC_MINOR__ = 1 )))
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Fri Apr 15 21:01:22 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: config.h Log Message: We need to include nbtool_config.h when we build tools. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/crypto/external/bsd/heimdal/include/config.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/config.h diff -u src/crypto/external/bsd/heimdal/include/config.h:1.1 src/crypto/external/bsd/heimdal/include/config.h:1.2 --- src/crypto/external/bsd/heimdal/include/config.h:1.1 Wed Apr 13 19:03:58 2011 +++ src/crypto/external/bsd/heimdal/include/config.h Fri Apr 15 21:01:22 2011 @@ -1,11 +1,15 @@ /* include/config.h. Generated from config.h.in by configure. */ /* include/config.h.in. Generated from configure.ac by autoheader. */ +#if HAVE_NBTOOL_CONFIG_H +#include nbtool_config.h +#endif + #ifndef RCSID #define RCSID(msg) \ static /**/const char *const rcsid[] = { (const char *)rcsid, @(#) msg } #endif - + /* Maximum values on all known systems */ #define MaxHostNameLen (64+4) #define MaxPathLen (1024+4)
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Fri Apr 15 21:03:51 UTC 2011 Modified Files: src/crypto/external/bsd/heimdal/include: roken.h Log Message: Randomness isn't terribly necessary when we are building tools. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/heimdal/include/roken.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/heimdal/include/roken.h diff -u src/crypto/external/bsd/heimdal/include/roken.h:1.2 src/crypto/external/bsd/heimdal/include/roken.h:1.3 --- src/crypto/external/bsd/heimdal/include/roken.h:1.2 Thu Apr 14 18:12:08 2011 +++ src/crypto/external/bsd/heimdal/include/roken.h Fri Apr 15 21:03:51 2011 @@ -291,7 +291,11 @@ +#ifdef HAVE_NBTOOL_CONFIG_H +#define rk_random() 0 +#else #define rk_random() arc4random() +#endif
CVS commit: src/crypto/external/bsd/heimdal/include
Module Name:src Committed By: elric Date: Wed Apr 13 19:15:27 UTC 2011 Added Files: src/crypto/external/bsd/heimdal/include: heimntlm-protos.h Log Message: Autogenerated headers for heimdal head-20110412. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 \ src/crypto/external/bsd/heimdal/include/heimntlm-protos.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Added files: Index: src/crypto/external/bsd/heimdal/include/heimntlm-protos.h diff -u /dev/null src/crypto/external/bsd/heimdal/include/heimntlm-protos.h:1.1 --- /dev/null Wed Apr 13 19:15:27 2011 +++ src/crypto/external/bsd/heimdal/include/heimntlm-protos.h Wed Apr 13 19:15:27 2011 @@ -0,0 +1,194 @@ +/* This is a generated file */ +#ifndef __heimntlm_protos_h__ +#define __heimntlm_protos_h__ + +#include stdarg.h + +#ifdef __cplusplus +extern C { +#endif + +int +heim_ntlm_build_ntlm1_master ( + void */*key*/, + size_t /*len*/, + struct ntlm_buf */*session*/, + struct ntlm_buf */*master*/); + +int +heim_ntlm_build_ntlm2_master ( + void */*key*/, + size_t /*len*/, + struct ntlm_buf */*blob*/, + struct ntlm_buf */*session*/, + struct ntlm_buf */*master*/); + +int +heim_ntlm_calculate_lm2 ( + const void */*key*/, + size_t /*len*/, + const char */*username*/, + const char */*target*/, + const unsigned char serverchallenge[8], + unsigned char ntlmv2[16], + struct ntlm_buf */*answer*/); + +int +heim_ntlm_calculate_ntlm1 ( + void */*key*/, + size_t /*len*/, + unsigned char challenge[8], + struct ntlm_buf */*answer*/); + +int +heim_ntlm_calculate_ntlm2 ( + const void */*key*/, + size_t /*len*/, + const char */*username*/, + const char */*target*/, + const unsigned char serverchallenge[8], + const struct ntlm_buf */*infotarget*/, + unsigned char ntlmv2[16], + struct ntlm_buf */*answer*/); + +int +heim_ntlm_calculate_ntlm2_sess ( + const unsigned char clnt_nonce[8], + const unsigned char svr_chal[8], + const unsigned char ntlm_hash[16], + struct ntlm_buf */*lm*/, + struct ntlm_buf */*ntlm*/); + +int +heim_ntlm_calculate_ntlm2_sess_hash ( + const unsigned char clnt_nonce[8], + const unsigned char svr_chal[8], + unsigned char verifier[8]); + +int +heim_ntlm_decode_targetinfo ( + const struct ntlm_buf */*data*/, + int /*ucs2*/, + struct ntlm_targetinfo */*ti*/); + +int +heim_ntlm_decode_type1 ( + const struct ntlm_buf */*buf*/, + struct ntlm_type1 */*data*/); + +int +heim_ntlm_decode_type2 ( + const struct ntlm_buf */*buf*/, + struct ntlm_type2 */*type2*/); + +int +heim_ntlm_decode_type3 ( + const struct ntlm_buf */*buf*/, + int /*ucs2*/, + struct ntlm_type3 */*type3*/); + +void +heim_ntlm_derive_ntlm2_sess ( + const unsigned char sessionkey[16], + const unsigned char */*clnt_nonce*/, + size_t /*clnt_nonce_length*/, + const unsigned char svr_chal[8], + unsigned char derivedkey[16]); + +int +heim_ntlm_encode_targetinfo ( + const struct ntlm_targetinfo */*ti*/, + int /*ucs2*/, + struct ntlm_buf */*data*/); + +int +heim_ntlm_encode_type1 ( + const struct ntlm_type1 */*type1*/, + struct ntlm_buf */*data*/); + +int +heim_ntlm_encode_type2 ( + const struct ntlm_type2 */*type2*/, + struct ntlm_buf */*data*/); + +int +heim_ntlm_encode_type3 ( + const struct ntlm_type3 */*type3*/, + struct ntlm_buf */*data*/); + +void +heim_ntlm_free_buf (struct ntlm_buf */*p*/); + +void +heim_ntlm_free_targetinfo (struct ntlm_targetinfo */*ti*/); + +void +heim_ntlm_free_type1 (struct ntlm_type1 */*data*/); + +void +heim_ntlm_free_type2 (struct ntlm_type2 */*data*/); + +void +heim_ntlm_free_type3 (struct ntlm_type3 */*data*/); + +int +heim_ntlm_keyex_unwrap ( + struct ntlm_buf */*baseKey*/, + struct ntlm_buf */*encryptedSession*/, + struct ntlm_buf */*session*/); + +int +heim_ntlm_keyex_wrap ( + struct ntlm_buf */*base_session*/, + struct ntlm_buf */*session*/, + struct ntlm_buf */*encryptedSession*/); + +int +heim_ntlm_nt_key ( + const char */*password*/, + struct ntlm_buf */*key*/); + +int +heim_ntlm_ntlmv2_key ( + const void */*key*/, + size_t /*len*/, + const char */*username*/, + const char */*target*/, + unsigned char ntlmv2[16]); + +size_t +heim_ntlm_unparse_flags ( + uint32_t /*flags*/, + char */*s*/, + size_t /*len*/); + +int +heim_ntlm_v1_base_session ( + void */*key*/, + size_t /*len*/, + struct ntlm_buf */*session*/); + +int +heim_ntlm_v2_base_session ( + void */*key*/, + size_t /*len*/, + struct ntlm_buf */*ntlmResponse*/, + struct ntlm_buf */*session*/); + +int +heim_ntlm_verify_ntlm2 ( + const void */*key*/, + size_t /*len*/, + const char */*username*/, + const char */*target*/, + time_t /*now*/, + const unsigned char serverchallenge[8], + const struct ntlm_buf */*answer*/, + struct ntlm_buf */*infotarget*/, + unsigned char ntlmv2[16]); + +#ifdef __cplusplus +} +#endif + +#endif /* __heimntlm_protos_h__ */