[22405] in Kerberos
Deprecated functions (1.3.4)
daemon@ATHENA.MIT.EDU (Mike Friedman)
Wed Sep 8 12:15:46 2004
Date: Wed, 8 Sep 2004 09:12:20 -0700 (PDT)
From: Mike Friedman <mikef@ack.berkeley.edu>
To: kerberos@mit.edu
Message-ID: <Pine.GSO.4.58.0409080856450.14183@ack.Berkeley.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Errors-To: kerberos-bounces@mit.edu
I'm about to upgrade from 1.2.7 to 1.3.4 and I'm a bit concerned about
some of my own code that was based on the MIT K5 API as of several years
ago. In particular, I use such functions as krb5_get_in_tkt_with_password,
which are now considered deprecated. (I actually have several programs
that use the MIT K5 API, all of which were written about 5 years ago).
I notice that my 1.3.4 build has KRB5_DEPRECATED set, one consequence of
which (I believe) is that when I compile one of my modules, I now get this
message:
warning: implicit declaration of function `krb5_get_in_tkt_with_password'
Yet, this module still seems to work, even after being recompiled with
1.3.4 libraries and header files.
As it would take me some time to upgrade my own code to use the more
supported equivalent functions, I'd like to know whether I can still rely
on my existing code and, more specifically, what the above message
actually is telling me about the module I've produced.
I suppose I could build 1.3.4 with KRB5_DEPRECATED=0, but I'd rather not
do this if I don't have to. Could someone tell me if it's safe to
continue using my modules that are coded with deprecated functions (I'm
not sure if I'm depending on any others besides krb5_get_in_tkt) even if,
for some some reason, I have to recompile them after I've got 1.3.4 in
production?
Thanks.
Mike
------------------------------------------------------------------------------
Mike Friedman System and Network Security
mikef@ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu
------------------------------------------------------------------------------
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos