Home
last modified time | relevance | path

Searched refs:pk_key (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c67 static int dst_s_read_private_key_file(char *name, DST_KEY *pk_key,
816 dst_s_read_private_key_file(char *name, DST_KEY *pk_key, u_int16_t in_id, in dst_s_read_private_key_file() argument
827 if (name == NULL || pk_key == NULL) { in dst_s_read_private_key_file()
885 if (pk_key->dk_key_name && !strcmp(pk_key->dk_key_name, name)) in dst_s_read_private_key_file()
886 SAFE_FREE2(pk_key->dk_key_name, strlen(pk_key->dk_key_name)); in dst_s_read_private_key_file()
887 pk_key->dk_key_name = (char *) strdup(name); in dst_s_read_private_key_file()
890 if (pk_key->dk_func == NULL || pk_key->dk_func->from_file_fmt == NULL) in dst_s_read_private_key_file()
893 ret = pk_key->dk_func->from_file_fmt(pk_key, (char *)p, &in_buff[len] - p); in dst_s_read_private_key_file()
897 dnslen = dst_key_to_dnskey(pk_key, dns, sizeof(dns)); in dst_s_read_private_key_file()
906 pk_key->dk_id = (u_int16_t) id; in dst_s_read_private_key_file()
[all …]