Changeset 740 for vendor/current/source4/heimdal/lib/krb5/krb5_locl.h
- Timestamp:
- Nov 14, 2012, 12:59:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/source4/heimdal/lib/krb5/krb5_locl.h ¶
r414 r740 3 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 4 * All rights reserved. 5 * 6 * Portions Copyright (c) 2009 Apple Inc. All rights reserved. 5 7 * 6 8 * Redistribution and use in source and binary forms, with or without … … 46 48 #include <limits.h> 47 49 50 #include <krb5-types.h> 51 48 52 #ifdef HAVE_SYS_TYPES_H 49 53 #include <sys/types.h> … … 114 118 #include <sys/file.h> 115 119 #endif 120 121 #include <com_err.h> 122 123 #include <heimbase.h> 116 124 117 125 #define HEIMDAL_TEXTDOMAIN "heimdal_krb5" … … 152 160 153 161 /* XXX glue for pkinit */ 162 struct hx509_certs_data; 154 163 struct krb5_pk_identity; 155 164 struct krb5_pk_cert; … … 170 179 #include <hx509.h> 171 180 #endif 181 182 #include "crypto.h" 183 172 184 #include <krb5-private.h> 173 185 … … 176 188 #define ALLOC(X, N) (X) = calloc((N), sizeof(*(X))) 177 189 #define ALLOC_SEQ(X, N) do { (X)->len = (N); ALLOC((X)->val, (N)); } while(0) 190 191 #ifndef PATH_SEP 192 #define PATH_SEP ":" 193 #endif 178 194 179 195 /* should this be public? */ … … 181 197 #define KEYTAB_DEFAULT_MODIFY "FILE:" SYSCONFDIR "/krb5.keytab" 182 198 199 183 200 #define MODULI_FILE SYSCONFDIR "/krb5.moduli" 184 201 … … 196 213 197 214 198 #define KRB5_BUFSIZ 1024215 #define KRB5_BUFSIZ 2048 199 216 200 217 typedef enum { … … 217 234 #define KRB5_INIT_CREDS_CANONICALIZE 1 218 235 #define KRB5_INIT_CREDS_NO_C_CANON_CHECK 2 236 #define KRB5_INIT_CREDS_NO_C_NO_EKU_CHECK 4 219 237 struct { 220 238 krb5_gic_process_last_req func; … … 235 253 struct et_list *et_list; 236 254 struct krb5_log_facility *warn_dest; 237 krb5_cc_ops *cc_ops; 255 struct krb5_log_facility *debug_dest; 256 const krb5_cc_ops **cc_ops; 238 257 int num_cc_ops; 239 258 const char *http_proxy; … … 264 283 #define KRB5_CTX_F_CHECK_PAC 2 265 284 #define KRB5_CTX_F_HOMEDIR_ACCESS 4 285 #define KRB5_CTX_F_SOCKETS_INITIALIZED 8 286 #define KRB5_CTX_F_RD_REQ_IGNORE 16 266 287 struct send_to_kdc *send_to_kdc; 288 #ifdef PKINIT 289 hx509_context hx509ctx; 290 #endif 267 291 } krb5_context_data; 268 292 293 #ifndef KRB5_USE_PATH_TOKENS 269 294 #define KRB5_DEFAULT_CCNAME_FILE "FILE:/tmp/krb5cc_%{uid}" 295 #else 296 #define KRB5_DEFAULT_CCNAME_FILE "FILE:%{TEMP}/krb5cc_%{uid}" 297 #endif 270 298 #define KRB5_DEFAULT_CCNAME_API "API:" 271 #define KRB5_DEFAULT_CCNAME_KCM "KCM:%{uid}" 299 #define KRB5_DEFAULT_CCNAME_KCM_KCM "KCM:%{uid}" 300 #define KRB5_DEFAULT_CCNAME_KCM_API "API:%{uid}" 272 301 273 302 #define EXTRACT_TICKET_ALLOW_CNAME_MISMATCH 1 … … 275 304 #define EXTRACT_TICKET_MATCH_REALM 4 276 305 #define EXTRACT_TICKET_AS_REQ 8 306 #define EXTRACT_TICKET_TIMESYNC 16 277 307 278 308 /* … … 292 322 #endif 293 323 324 #ifndef KRB5_FORWARDABLE_DEFAULT 325 #define KRB5_FORWARDABLE_DEFAULT TRUE 326 #endif 327 294 328 #ifdef PKINIT 295 329 296 330 struct krb5_pk_identity { 297 hx509_context hx509ctx;298 331 hx509_verify_ctx verify_ctx; 299 332 hx509_certs certs; … … 302 335 hx509_certs certpool; 303 336 hx509_revoke_ctx revokectx; 337 int flags; 338 #define PKINIT_BTMM 1 304 339 }; 305 340
Note:
See TracChangeset
for help on using the changeset viewer.