Deprecated functions (1.3.4)
Mike Friedman
mikef at ack.Berkeley.EDU
Wed Sep 8 12:12:20 EDT 2004
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 at ack.Berkeley.EDU 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://ack.Berkeley.EDU/~mikef http://security.berkeley.edu
------------------------------------------------------------------------------
More information about the Kerberos
mailing list