|
Lines 43-48
krb5_salttype_to_string (krb5_context context,
Link Here
|
| 43 |
struct _krb5_encryption_type *e; |
43 |
struct _krb5_encryption_type *e; |
| 44 |
struct salt_type *st; |
44 |
struct salt_type *st; |
| 45 |
|
45 |
|
|
|
46 |
(void) fbsd_ossl_provider_load(); |
| 47 |
|
| 46 |
e = _krb5_find_enctype (etype); |
48 |
e = _krb5_find_enctype (etype); |
| 47 |
if (e == NULL) { |
49 |
if (e == NULL) { |
| 48 |
krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP, |
50 |
krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP, |
|
Lines 75-80
krb5_string_to_salttype (krb5_context context,
Link Here
|
| 75 |
struct _krb5_encryption_type *e; |
77 |
struct _krb5_encryption_type *e; |
| 76 |
struct salt_type *st; |
78 |
struct salt_type *st; |
| 77 |
|
79 |
|
|
|
80 |
(void) fbsd_ossl_provider_load(); |
| 81 |
|
| 78 |
e = _krb5_find_enctype (etype); |
82 |
e = _krb5_find_enctype (etype); |
| 79 |
if (e == NULL) { |
83 |
if (e == NULL) { |
| 80 |
krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP, |
84 |
krb5_set_error_message(context, KRB5_PROG_ETYPE_NOSUPP, |
|
Lines 196-201
krb5_string_to_key_data_salt_opaque (krb5_context context,
Link Here
|
| 196 |
enctype); |
200 |
enctype); |
| 197 |
return KRB5_PROG_ETYPE_NOSUPP; |
201 |
return KRB5_PROG_ETYPE_NOSUPP; |
| 198 |
} |
202 |
} |
|
|
203 |
(void) fbsd_ossl_provider_load(); |
| 199 |
for(st = et->keytype->string_to_key; st && st->type; st++) |
204 |
for(st = et->keytype->string_to_key; st && st->type; st++) |
| 200 |
if(st->type == salt.salttype) |
205 |
if(st->type == salt.salttype) |
| 201 |
return (*st->string_to_key)(context, enctype, password, |
206 |
return (*st->string_to_key)(context, enctype, password, |