mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
pwd-plugin: Fix unresolve symbol
This fixes a har crash when someone tries to fetch a keytab
This commit is contained in:
@@ -150,6 +150,7 @@ struct ipapwd_keyset {
|
||||
int num_keys;
|
||||
};
|
||||
|
||||
void encode_int16(unsigned int val, unsigned char *p);
|
||||
struct berval *encode_keys(struct ipapwd_keyset *kset);
|
||||
void ipapwd_keyset_free(struct ipapwd_keyset **pkset);
|
||||
|
||||
|
||||
@@ -234,8 +234,7 @@ void ipapwd_keyset_free(struct ipapwd_keyset **pkset)
|
||||
}
|
||||
|
||||
|
||||
|
||||
static inline void encode_int16(unsigned int val, unsigned char *p)
|
||||
void encode_int16(unsigned int val, unsigned char *p)
|
||||
{
|
||||
p[1] = (val >> 8) & 0xff;
|
||||
p[0] = (val ) & 0xff;
|
||||
|
||||
Reference in New Issue
Block a user