Renamed static function krb5_rd_safe_basic into rd_safe_basic to avoid confusion...
authorZhanna Tsitkov <tsitkova@mit.edu>
Tue, 18 Jan 2011 21:54:58 +0000 (21:54 +0000)
committerZhanna Tsitkov <tsitkova@mit.edu>
Tue, 18 Jan 2011 21:54:58 +0000 (21:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24599 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/rd_safe.c

index 924cb9fc26a0dbf01f2a5d6e989f3568f7915dd3..2f29d48c9dd56419284a1f2e4903dae51f2726f4 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
 /*
- * lib/krb5/krb/rd_safe.c
+ * lib/krb5/krb/rd_safe.c - definition of krb5_rd_safe()
  *
  * Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology.
  * All Rights Reserved.
@@ -46,7 +46,7 @@
   returns system errors, integrity errors
 */
 static krb5_error_code
-krb5_rd_safe_basic(krb5_context context, const krb5_data *inbuf,
+rd_safe_basic(krb5_context context, const krb5_data *inbuf,
                    krb5_key key,
                    const krb5_address *recv_addr,
                    const krb5_address *sender_addr,
@@ -221,9 +221,9 @@ krb5_rd_safe(krb5_context context, krb5_auth_context auth_context,
         }
 
         memset(&replaydata, 0, sizeof(replaydata));
-        if ((retval = krb5_rd_safe_basic(context, inbuf, key,
-                                         plocal_fulladdr, premote_fulladdr,
-                                         &replaydata, outbuf))) {
+        if ((retval = rd_safe_basic(context, inbuf, key,
+                                    plocal_fulladdr, premote_fulladdr,
+                                    &replaydata, outbuf))) {
             CLEANUP_DONE();
             return retval;
         }