crypto.c (3091cdb11fb05e554a54710116be87ee1f55c287) | crypto.c (476d63e091c2e663b51d18acf6acb282e1f22bbc) |
---|---|
1/* 2 * Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 2040 unchanged lines hidden (view full) --- 2049 return KRB5_BAD_KEYSIZE; 2050 } 2051 ret = krb5_copy_keyblock(context, key, &(*crypto)->key.key); 2052 if(ret) { 2053 free(*crypto); 2054 *crypto = NULL; 2055 return ret; 2056 } | 1/* 2 * Copyright (c) 1997 - 2008 Kungliga Tekniska Högskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 2040 unchanged lines hidden (view full) --- 2049 return KRB5_BAD_KEYSIZE; 2050 } 2051 ret = krb5_copy_keyblock(context, key, &(*crypto)->key.key); 2052 if(ret) { 2053 free(*crypto); 2054 *crypto = NULL; 2055 return ret; 2056 } |
2057 ret = fbsd_ossl_provider_load(); 2058 if (ret) 2059 return ret; |
|
2057 (*crypto)->key.schedule = NULL; 2058 (*crypto)->num_key_usage = 0; 2059 (*crypto)->key_usage = NULL; 2060 return 0; 2061} 2062 2063static void 2064free_key_schedule(krb5_context context, --- 586 unchanged lines hidden --- | 2060 (*crypto)->key.schedule = NULL; 2061 (*crypto)->num_key_usage = 0; 2062 (*crypto)->key_usage = NULL; 2063 return 0; 2064} 2065 2066static void 2067free_key_schedule(krb5_context context, --- 586 unchanged lines hidden --- |