summaryrefslogtreecommitdiff
path: root/src/lib/krb5/rcache/ser_rc.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-04-03 19:36:00 +0000
committerCy Schubert <cy@FreeBSD.org>2018-04-03 19:36:00 +0000
commitb0e4d68d5124581ae353493d69bea352de4cff8a (patch)
tree43300ec43e83eccd367fd76fdfdefba2dcd7d8f4 /src/lib/krb5/rcache/ser_rc.c
parent33a9b234e7087f573ef08cd7318c6497ba08b439 (diff)
downloadsrc-test2-b0e4d68d5124581ae353493d69bea352de4cff8a.tar.gz
src-test2-b0e4d68d5124581ae353493d69bea352de4cff8a.zip
Notes
Diffstat (limited to 'src/lib/krb5/rcache/ser_rc.c')
-rw-r--r--src/lib/krb5/rcache/ser_rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/rcache/ser_rc.c b/src/lib/krb5/rcache/ser_rc.c
index 556af21e5e48..5c537f08a1cc 100644
--- a/src/lib/krb5/rcache/ser_rc.c
+++ b/src/lib/krb5/rcache/ser_rc.c
@@ -72,7 +72,7 @@ krb5_rcache_size(krb5_context kcontext, krb5_pointer arg, size_t *sizep)
* krb5_int32 for KV5M_RCACHE
*/
required = sizeof(krb5_int32) * 3;
- if (rcache->ops && rcache->ops->type)
+ if (rcache->ops)
required += (strlen(rcache->ops->type)+1);
/*