Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libresolv2/common/dst/
H A Ddst_api.c71 static int dst_s_read_private_key_file(char *name, DST_KEY *pk_key,
820 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
831 if (name == NULL || pk_key == NULL) { in dst_s_read_private_key_file()
889 if (pk_key->dk_key_name && !strcmp(pk_key->dk_key_name, name)) in dst_s_read_private_key_file()
890 SAFE_FREE2(pk_key->dk_key_name, strlen(pk_key->dk_key_name)); in dst_s_read_private_key_file()
891 pk_key->dk_key_name = (char *) strdup(name); in dst_s_read_private_key_file()
894 if (pk_key->dk_func == NULL || pk_key->dk_func->from_file_fmt == NULL) in dst_s_read_private_key_file()
897 ret = pk_key->dk_func->from_file_fmt(pk_key, (char *)p, &in_buff[len] - p); in dst_s_read_private_key_file()
901 dnslen = dst_key_to_dnskey(pk_key, dns, sizeof(dns)); in dst_s_read_private_key_file()
910 pk_key->dk_id = (u_int16_t) id; in dst_s_read_private_key_file()
[all …]