summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-02-05 01:49:21 +0000
committerKen Raeburn <raeburn@mit.edu>2009-02-05 01:49:21 +0000
commit1705970a5aebaeb693fb5e074a7948ac4b03f7ef (patch)
treec1533671daa46a64903d0807336c0420c2d7e93a /src/lib
parent2dc1ef4078acd7ca463a8eee2ef20de54e672f37 (diff)
downloadkrb5-1705970a5aebaeb693fb5e074a7948ac4b03f7ef.tar.gz
krb5-1705970a5aebaeb693fb5e074a7948ac4b03f7ef.tar.xz
krb5-1705970a5aebaeb693fb5e074a7948ac4b03f7ef.zip
int/ptr bug in gssapi code
Fix a pointer argument passed where an integer is needed. Update Sun compiler options to make that an error. (The options we're currently using make it an error for assignment but not for argument passing.) ticket: 6363 target_version: 1.7 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21887 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/gssapi/krb5/k5seal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/k5seal.c b/src/lib/gssapi/krb5/k5seal.c
index bff1ab1858..1949020ab1 100644
--- a/src/lib/gssapi/krb5/k5seal.c
+++ b/src/lib/gssapi/krb5/k5seal.c
@@ -258,7 +258,7 @@ make_seal_token_v1 (krb5_context context,
unsigned char bigend_seqnum[4];
krb5_keyblock *enc_key;
int i;
- store_32_be(seqnum, bigend_seqnum);
+ store_32_be(*seqnum, bigend_seqnum);
code = krb5_copy_keyblock (context, enc, &enc_key);
if (code)
{