|
@ -1,6 +1,17 @@ |
|
|
|
|
|
--- a/src/kadmin/ktutil/ktutil_funcs.c
|
|
|
|
|
|
+++ b/src/kadmin/ktutil/ktutil_funcs.c
|
|
|
|
|
|
@@ -64,7 +64,7 @@ krb5_error_code ktutil_delete(context, list, idx)
|
|
|
|
|
|
krb5_kt_list *list; |
|
|
|
|
|
int idx; |
|
|
|
|
|
{ |
|
|
|
|
|
- krb5_kt_list lp, prev;
|
|
|
|
|
|
+ krb5_kt_list lp, prev = NULL;
|
|
|
|
|
|
int i; |
|
|
|
|
|
|
|
|
|
|
|
for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) { |
|
|
--- a/src/lib/kadm5/str_conv.c
|
|
|
--- a/src/lib/kadm5/str_conv.c
|
|
|
+++ b/src/lib/kadm5/str_conv.c
|
|
|
+++ b/src/lib/kadm5/str_conv.c
|
|
|
@@ -131,7 +131,7 @@
|
|
|
|
|
|
|
|
|
@@ -133,7 +133,7 @@ raw_flagspec_to_mask(const char *s, int req_neg, krb5_flags *toset,
|
|
|
{ |
|
|
{ |
|
|
int found = 0, invert = 0; |
|
|
int found = 0, invert = 0; |
|
|
size_t i; |
|
|
size_t i; |
|
@ -11,7 +22,7 @@ |
|
|
for (i = 0; !found && i < NFTBL; i++) { |
|
|
for (i = 0; !found && i < NFTBL; i++) { |
|
|
--- a/src/lib/krad/packet.c
|
|
|
--- a/src/lib/krad/packet.c
|
|
|
+++ b/src/lib/krad/packet.c
|
|
|
+++ b/src/lib/krad/packet.c
|
|
|
@@ -253,7 +253,7 @@
|
|
|
|
|
|
|
|
|
@@ -253,7 +253,7 @@ krad_packet_new_request(krb5_context ctx, const char *secret, krad_code code,
|
|
|
{ |
|
|
{ |
|
|
krb5_error_code retval; |
|
|
krb5_error_code retval; |
|
|
krad_packet *pkt; |
|
|
krad_packet *pkt; |
|
@ -22,7 +33,7 @@ |
|
|
pkt = packet_new(); |
|
|
pkt = packet_new(); |
|
|
--- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
|
|
|
--- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
|
|
|
+++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
|
|
|
+++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
|
|
|
@@ -3618,7 +3618,7 @@
|
|
|
|
|
|
|
|
|
@@ -3764,7 +3764,7 @@ pkinit_open_session(krb5_context context,
|
|
|
{ |
|
|
{ |
|
|
CK_ULONG i, r; |
|
|
CK_ULONG i, r; |
|
|
unsigned char *cp; |
|
|
unsigned char *cp; |
|
@ -33,7 +44,7 @@ |
|
|
CK_TOKEN_INFO tinfo; |
|
|
CK_TOKEN_INFO tinfo; |
|
|
--- a/src/util/profile/prof_file.c
|
|
|
--- a/src/util/profile/prof_file.c
|
|
|
+++ b/src/util/profile/prof_file.c
|
|
|
+++ b/src/util/profile/prof_file.c
|
|
|
@@ -309,7 +309,7 @@
|
|
|
|
|
|
|
|
|
@@ -309,7 +309,7 @@ errcode_t profile_update_file_data_locked(prf_data_t data, char **ret_modspec)
|
|
|
unsigned long frac; |
|
|
unsigned long frac; |
|
|
time_t now; |
|
|
time_t now; |
|
|
#endif |
|
|
#endif |
|
@ -42,14 +53,3 @@ |
|
|
int isdir = 0; |
|
|
int isdir = 0; |
|
|
|
|
|
|
|
|
#ifdef HAVE_STAT |
|
|
#ifdef HAVE_STAT |
|
|
--- a/src/kadmin/ktutil/ktutil_funcs.c
|
|
|
|
|
|
+++ b/src/kadmin/ktutil/ktutil_funcs.c
|
|
|
|
|
|
@@ -64,7 +64,7 @@
|
|
|
|
|
|
krb5_kt_list *list; |
|
|
|
|
|
int idx; |
|
|
|
|
|
{ |
|
|
|
|
|
- krb5_kt_list lp, prev;
|
|
|
|
|
|
+ krb5_kt_list lp, prev = NULL;
|
|
|
|
|
|
int i; |
|
|
|
|
|
|
|
|
|
|
|
for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) { |
|
|
|