(hx509_verify_hostname): implement stub function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1570,6 +1570,19 @@ hx509_verify_signature(hx509_context context,
|
||||
return _hx509_verify_signature(signer->data, alg, data, sig);
|
||||
}
|
||||
|
||||
int
|
||||
hx509_verify_hostname(hx509_context context,
|
||||
const hx509_cert cert,
|
||||
int require_match,
|
||||
const char *hostname,
|
||||
const struct sockaddr *sa,
|
||||
/* XXX krb5_socklen_t */ int sa_size)
|
||||
{
|
||||
if (sa && sa_size <= 0)
|
||||
return EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
_hx509_set_cert_attribute(hx509_cert cert, const heim_oid *oid,
|
||||
const heim_octet_string *attr)
|
||||
|
Reference in New Issue
Block a user