context.c (3091cdb11fb05e554a54710116be87ee1f55c287) context.c (476d63e091c2e663b51d18acf6acb282e1f22bbc)
1/*
2 * Copyright (c) 1997 - 2010 Kungliga Tekniska Högskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Portions Copyright (c) 2009 Apple Inc. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 378 unchanged lines hidden (view full) ---

387
388 p->mutex = malloc(sizeof(HEIMDAL_MUTEX));
389 if (p->mutex == NULL) {
390 free(p);
391 return ENOMEM;
392 }
393 HEIMDAL_MUTEX_init(p->mutex);
394
1/*
2 * Copyright (c) 1997 - 2010 Kungliga Tekniska Högskolan
3 * (Royal Institute of Technology, Stockholm, Sweden).
4 * All rights reserved.
5 *
6 * Portions Copyright (c) 2009 Apple Inc. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 378 unchanged lines hidden (view full) ---

387
388 p->mutex = malloc(sizeof(HEIMDAL_MUTEX));
389 if (p->mutex == NULL) {
390 free(p);
391 return ENOMEM;
392 }
393 HEIMDAL_MUTEX_init(p->mutex);
394
395 ret = fbsd_ossl_provider_load();
396 if(ret)
397 goto out;
398
395 p->flags |= KRB5_CTX_F_HOMEDIR_ACCESS;
396
397 ret = krb5_get_default_config_files(&files);
398 if(ret)
399 goto out;
400 ret = krb5_set_config_files(p, files);
401 krb5_free_config_files(files);
402 if(ret)

--- 1114 unchanged lines hidden ---
399 p->flags |= KRB5_CTX_F_HOMEDIR_ACCESS;
400
401 ret = krb5_get_default_config_files(&files);
402 if(ret)
403 goto out;
404 ret = krb5_set_config_files(p, files);
405 krb5_free_config_files(files);
406 if(ret)

--- 1114 unchanged lines hidden ---