summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/asn.1/asn1_encode.c2
-rw-r--r--src/lib/krb5/asn.1/asn1_encode.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/krb5/asn.1/asn1_encode.c b/src/lib/krb5/asn.1/asn1_encode.c
index d31cefa5ff..7eb646e03c 100644
--- a/src/lib/krb5/asn.1/asn1_encode.c
+++ b/src/lib/krb5/asn.1/asn1_encode.c
@@ -176,7 +176,7 @@ encode_bytestring_with_tag(asn1buf *buf, unsigned int len,
}
asn1_error_code
-asn1_encode_oid(asn1buf *buf, unsigned int len, const asn1_octet *val,
+asn1_encode_oid(asn1buf *buf, unsigned int len, const void *val,
unsigned int *retlen)
{
return encode_bytestring_with_tag(buf, len, val, ASN1_OBJECTIDENTIFIER,
diff --git a/src/lib/krb5/asn.1/asn1_encode.h b/src/lib/krb5/asn.1/asn1_encode.h
index 04d92fc90a..97256a73ae 100644
--- a/src/lib/krb5/asn.1/asn1_encode.h
+++ b/src/lib/krb5/asn.1/asn1_encode.h
@@ -90,7 +90,7 @@ asn1_error_code asn1_encode_octetstring(asn1buf *buf, unsigned int len,
#define asn1_encode_charstring asn1_encode_octetstring
asn1_error_code asn1_encode_oid(asn1buf *buf, unsigned int len,
- const asn1_octet *val, unsigned int *retlen);
+ const void *val, unsigned int *retlen);
/*
* requires *buf is allocated
* modifies *buf, *retlen