Undo previous patch: avoid warnings by #undef'ing
authorDr. Stephen Henson <steve@openssl.org>
Wed, 13 Mar 2002 13:59:38 +0000 (13:59 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 13 Mar 2002 13:59:38 +0000 (13:59 +0000)
duplicate definitions.

Suggested by "Kenneth R. Robinette" <support@securenetterm.com>

ssl/kssl.c

index a3a0596bfdc6ef69cb6289ab15a714d7d87bb1e3..dc54035d2f4086c275f8da2acd4466015f94c5ac 100644 (file)
 #define krb5_timeofday           kssl_krb5_timeofday
 #define krb5_rc_default           kssl_krb5_rc_default
 
-#ifndef krb5_rc_initialize
-#define krb5_rc_initialize   kssl_krb5_rc_initialize
+#ifdef krb5_rc_initialize
+#undef krb5_rc_initialize
 #endif
+#define krb5_rc_initialize   kssl_krb5_rc_initialize
 
-#ifndef krb5_rc_get_lifespan
-#define krb5_rc_get_lifespan kssl_krb5_rc_get_lifespan
+#ifdef krb5_rc_get_lifespan
+#undef krb5_rc_get_lifespan
 #endif
+#define krb5_rc_get_lifespan kssl_krb5_rc_get_lifespan
 
-#ifndef krb5_rc_destroy
-#define krb5_rc_destroy      kssl_krb5_rc_destroy
+#ifdef krb5_rc_destroy
+#undef krb5_rc_destroy
 #endif
+#define krb5_rc_destroy      kssl_krb5_rc_destroy
 
 #define valid_cksumtype      kssl_valid_cksumtype
 #define krb5_checksum_size   kssl_krb5_checksum_size